changeset 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 c770794d0a4a
files engine/python/fife/extensions/fife_settings.py
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/engine/python/fife/extensions/fife_settings.py	Mon Sep 27 14:02:59 2010 +0000
+++ b/engine/python/fife/extensions/fife_settings.py	Mon Sep 27 14:22:07 2010 +0000
@@ -349,10 +349,9 @@
 		shutil.copyfile(self._default_settings_file, os.path.join(self._appdata, self._settings_file))
 		self.changesRequireRestart = True
 		self.initSerializer()
-		#self._showChangeRequireRestartDialog()
-
-		#if self.OptionsDlg:
-		#	self.OptionsDlg.hide()
+		
+		#update all widgets with the new data
+		self.fillWidgets()
 
 	def _getEntries(self):
 		return self._entries