Viewer: Allow footnotes popup to be docked to the sides as well

This commit is contained in:
Kovid Goyal 2014-11-14 12:33:20 +05:30
parent 6f9ed67327
commit 61c0b4efd0

View File

@ -279,7 +279,7 @@ class Main(MainWindow):
d.setWidget(self.footnotes_view)
d.close() # starts out hidden
self.addDockWidget(Qt.BottomDockWidgetArea, d)
d.setAllowedAreas(Qt.BottomDockWidgetArea | Qt.TopDockWidgetArea)
d.setAllowedAreas(Qt.BottomDockWidgetArea | Qt.TopDockWidgetArea | Qt.LeftDockWidgetArea | Qt.RightDockWidgetArea)
self.create_actions()