mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Viewer: Allow footnotes popup to be docked to the sides as well
This commit is contained in:
parent
6f9ed67327
commit
61c0b4efd0
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user