Commits

Steve Borho committed 42772e6

gdialog: prevent key errors when parsing settings data

Fixes #207

Comments (0)

Files changed (1)

 
 
     def load_settings(self, settings):
-        if settings:
+        if settings and 'gdialog' in settings:
             self._setting_defsize = settings['gdialog']
         else:
             self._setting_defsize = (678, 585)