Fixed problem with Import settings.

This commit is contained in:
Stevan Pettit 2012-05-17 15:23:58 -04:00
parent eb58ee10e8
commit a7fc64f0c3

View File

@ -966,7 +966,7 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow):
for plugin in self.pluginManager.plugins: for plugin in self.pluginManager.plugins:
setting_sections.extend([plugin.name]) setting_sections.extend([plugin.name])
settings = Settings() settings = Settings()
import_settings = Settings(import_file_name, import_settings = QtCore.QSettings(import_file_name,
Settings.IniFormat) Settings.IniFormat)
import_keys = import_settings.allKeys() import_keys = import_settings.allKeys()
for section_key in import_keys: for section_key in import_keys: