We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 964cf2f commit 68b43f6Copy full SHA for 68b43f6
panels/notification/osd/windoweffect/package/main.qml
@@ -28,6 +28,7 @@ AppletItem {
28
29
Connections {
30
target: control.Panel
31
+ enabled: match(control.Panel.osdType)
32
function onVisibleChanged() {
33
if (!control.Panel.visible) {
34
Applet.effectType = effectModel.get(selectIndex).value
@@ -46,13 +47,12 @@ AppletItem {
46
47
48
function update(osdType)
49
{
- if (selectIndex === effectModel.count - 1) {
50
- selectIndex = 0
51
- } else {
52
- selectIndex++
53
- }
54
-
55
if (match(osdType)) {
+ if (selectIndex === effectModel.count - 1) {
+ selectIndex = 0
+ } else {
+ selectIndex++
+ }
56
return true
57
}
58
return false
0 commit comments