Fix GuiAutoImport startup after I deleted the default setting in a previous patch.

Setting now comes from config
This commit is contained in:
Worros 2008-11-09 20:57:42 +10:00
parent c53d78491a
commit d0218363c6

View File

@ -60,7 +60,7 @@ class GuiAutoImport (threading.Thread):
self.intervalLabel.show()
self.intervalEntry=gtk.Entry()
self.intervalEntry.set_text(str(self.settings['hud-defaultInterval']))
self.intervalEntry.set_text(str(self.config.get_import_parameters().get("interval")))
self.settingsHBox.pack_start(self.intervalEntry)
self.intervalEntry.show()