diff options
| author | tassaron | 2017-06-08 22:56:33 -0400 |
|---|---|---|
| committer | tassaron | 2017-06-08 22:56:33 -0400 |
| commit | d3f979ef2461a3de701df0d5add545b80dfe23ad (patch) | |
| tree | 2765c9108cd7bbf990045a0c6ad8cd5bec4dbfda /mainwindow.py | |
| parent | c51d86dd74c0548a0e81725534b78e23f6b6acaa (diff) | |
start connecting import/export buttons
Diffstat (limited to 'mainwindow.py')
| -rw-r--r-- | mainwindow.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mainwindow.py b/mainwindow.py index 8812e7f..45262f7 100644 --- a/mainwindow.py +++ b/mainwindow.py @@ -60,15 +60,15 @@ class MainWindow(QtCore.QObject): # Create data directory, load/create settings self.dataDir = self.core.dataDir + self.autosavePath = os.path.join(self.dataDir, 'autosave.avp') + self.settings = QSettings( + os.path.join(self.dataDir, 'settings.ini'), QSettings.IniFormat) + LoadDefaultSettings(self) self.presetManager = PresetManager( uic.loadUi( os.path.join(os.path.dirname(os.path.realpath(__file__)), 'presetmanager.ui')), self) - self.autosavePath = os.path.join(self.dataDir, 'autosave.avp') - self.settings = QSettings( - os.path.join(self.dataDir, 'settings.ini'), QSettings.IniFormat) - LoadDefaultSettings(self) if not os.path.exists(self.dataDir): os.makedirs(self.dataDir) for neededDirectory in ( |
