mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-09 20:42:47 +01:00
Fix btn being click able if it is a widget
This commit is contained in:
parent
2b1ba81c94
commit
7b4a5cb747
@ -262,6 +262,14 @@ Item {
|
|||||||
availableWidth: width
|
availableWidth: width
|
||||||
availableHeight: height
|
availableHeight: height
|
||||||
fontSize: 11
|
fontSize: 11
|
||||||
|
onActiveMonitorsChanged: {
|
||||||
|
if(isWidget()){
|
||||||
|
btnSetWallpaper.enabled = true
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
btnSetWallpaper.enabled = activeMonitors.length > 0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user