You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
691 B
14 lines
691 B
diff --git a/applets/systemtray/package/contents/ui/ConfigEntries.qml b/applets/systemtray/package/contents/ui/ConfigEntries.qml
|
|
index 4001d39..e848ae3 100644
|
|
--- a/applets/systemtray/package/contents/ui/ConfigEntries.qml
|
|
+++ b/applets/systemtray/package/contents/ui/ConfigEntries.qml
|
|
@@ -94,7 +94,7 @@ QtLayouts.GridLayout {
|
|
var shownIndex = cfg_shownItems.indexOf(modelData.taskId);
|
|
var hiddenIndex = cfg_hiddenItems.indexOf(modelData.taskId);
|
|
|
|
- switch (index) {
|
|
+ switch (currentIndex) {
|
|
case 0: {
|
|
if (shownIndex > -1) {
|
|
cfg_shownItems.splice(shownIndex, 1);
|