Fix viewer widow size not being restored

This commit is contained in:
Kovid Goyal 2019-04-09 18:52:03 +05:30
parent bacf2704e0
commit 0e90d6356f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1185,6 +1185,7 @@ class EbookViewer(MainWindow):
self.iterator.__exit__(*args)
def read_settings(self):
from calibre.gui2.viewer.config import config
c = config().parse()
if c.remember_window_size:
wg = vprefs.get('viewer_window_geometry', None)