comparison engine/python/fife/extensions/fife_settings.py @ 615:6f3f5686a56e

Fixed a small bug where the widgets were not being updated with new data when the default settings were loaded.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 27 Sep 2010 14:22:07 +0000
parents 567d53c1c010
children 01994b7e505a
comparison
equal deleted inserted replaced
614:567d53c1c010 615:6f3f5686a56e
347 Overwrites the setting file with the default settings file. 347 Overwrites the setting file with the default settings file.
348 """ 348 """
349 shutil.copyfile(self._default_settings_file, os.path.join(self._appdata, self._settings_file)) 349 shutil.copyfile(self._default_settings_file, os.path.join(self._appdata, self._settings_file))
350 self.changesRequireRestart = True 350 self.changesRequireRestart = True
351 self.initSerializer() 351 self.initSerializer()
352 #self._showChangeRequireRestartDialog() 352
353 353 #update all widgets with the new data
354 #if self.OptionsDlg: 354 self.fillWidgets()
355 # self.OptionsDlg.hide()
356 355
357 def _getEntries(self): 356 def _getEntries(self):
358 return self._entries 357 return self._entries
359 358
360 def _setEntries(self, entries): 359 def _setEntries(self, entries):