Use default geometry if no geometry was saved.
This commit is contained in:
parent
96747c9d58
commit
9568be3d2a
@ -50,7 +50,7 @@ class MainWindow(QWidget):
|
||||
try:
|
||||
geom = b64decode(config.state['geometry']['mainwindow'],
|
||||
validate=True)
|
||||
except binascii.Error:
|
||||
except (KeyError, binascii.Error):
|
||||
self._set_default_geometry()
|
||||
else:
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user