mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Workaround Qt bug that broke restoring of dock widget states in the editor
This commit is contained in:
parent
fb5cc7b649
commit
8bc07171ff
@ -376,8 +376,8 @@ class Main(MainWindow):
|
||||
g = QApplication.instance().desktop().availableGeometry(self)
|
||||
self.resize(g.width()-50, g.height()-50)
|
||||
|
||||
self.restore_state()
|
||||
self.apply_settings()
|
||||
QTimer.singleShot(0, self.restore_state)
|
||||
|
||||
def apply_settings(self):
|
||||
self.keyboard.finalize()
|
||||
|
Loading…
x
Reference in New Issue
Block a user