mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-03 07:25:53 +01:00
Workaround Qt bug that broke restoring of dock widget states in the editor
This commit is contained in:
parent
fb5cc7b649
commit
8bc07171ff
1 changed files with 1 additions and 1 deletions
|
|
@ -376,8 +376,8 @@ def __init__(self, opts, notify=None):
|
|||
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…
Reference in a new issue