Browse Source

Recreate plugin slots when closing settings

tags/1.9.6
falkTX 10 years ago
parent
commit
57c1e1d55c
2 changed files with 9 additions and 0 deletions
  1. +6
    -0
      source/carla_host.py
  2. +3
    -0
      source/widgets/racklistwidget.py

+ 6
- 0
source/carla_host.py View File

@@ -1385,6 +1385,12 @@ class HostWindow(QMainWindow):
elif self.host.is_engine_running():
self.host.patchbay_refresh(self.fExternalPatchbay)

for pitem in self.fPluginList:
if pitem is None:
break
pitem.setUsingSkins(self.fSavedSettings[CARLA_KEY_MAIN_USE_CUSTOM_SKINS])
pitem.recreateWidget()

# --------------------------------------------------------------------------------------------------------
# About (menu actions)



+ 3
- 0
source/widgets/racklistwidget.py View File

@@ -132,6 +132,9 @@ class RackListItem(QListWidgetItem):

QListWidgetItem.setSelected(self, select)

def setUsingSkins(self, useSkins):
self.fOptions['useSkins'] = useSkins

# --------------------------------------------------------------------------------------------------------

def recreateWidget(self, invertCompactOption = False, firstInit = False):


Loading…
Cancel
Save