Browse Source

Remember selected skin

tags/v1.9.11
FilipeCSnuk 6 years ago
parent
commit
bcd464d1f4
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      source/carla_skin.py

+ 5
- 1
source/carla_skin.py View File

@@ -1109,10 +1109,14 @@ class AbstractPluginSlot(QFrame, PluginEditParentMeta):
"presets",
"mpresets",
]
try:
index = skinList.index(self.fSkinStyle)
except:
index = 0

skin = QInputDialog.getItem(self, self.tr("Change Skin"),
self.tr("Change Skin to:"),
skinList, editable=False)
skinList, index, False)
if not all(skin):
return
gCarla.gui.changePluginSkin(self.fPluginId, skin[0])


Loading…
Cancel
Save