Browse Source

Continue previous commit

tags/1.9.7
falkTX 9 years ago
parent
commit
34044ded1d
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      source/carla_database.py
  2. +1
    -1
      source/carla_host.py

+ 1
- 1
source/carla_database.py View File

@@ -1255,7 +1255,7 @@ class PluginDatabaseW(QDialog):
def loadSettings(self):
settings = QSettings("falkTX", "CarlaDatabase2")
self.restoreGeometry(settings.value("PluginDatabase/Geometry", b""))
self.ui.tableWidget.horizontalHeader().restoreState(settings.value("PluginDatabase/TableGeometry%s" % ("_5" if config_UseQt5 else "_4"), ""))
self.ui.tableWidget.horizontalHeader().restoreState(settings.value("PluginDatabase/TableGeometry%s" % ("_5" if config_UseQt5 else "_4"), b""))
self.ui.ch_effects.setChecked(settings.value("PluginDatabase/ShowEffects", True, type=bool))
self.ui.ch_instruments.setChecked(settings.value("PluginDatabase/ShowInstruments", True, type=bool))
self.ui.ch_midi.setChecked(settings.value("PluginDatabase/ShowMIDI", True, type=bool))


+ 1
- 1
source/carla_host.py View File

@@ -1254,7 +1254,7 @@ class HostWindow(QMainWindow):
self.ui.toolBar.setVisible(showToolbar)

#if settings.contains("SplitterState"):
#self.ui.splitter.restoreState(settings.value("SplitterState", ""))
#self.ui.splitter.restoreState(settings.value("SplitterState", b""))
#else:
#self.ui.splitter.setSizes([210, 99999])



Loading…
Cancel
Save