Wallpaper: back to onClicked for Wallpaper selection
This commit is contained in:
parent
bb1d56121d
commit
330eac08cb
1 changed files with 1 additions and 2 deletions
|
|
@ -179,8 +179,7 @@ ColumnLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
acceptedButtons: Qt.LeftButton
|
acceptedButtons: Qt.LeftButton
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
// Use on pressed instead of clicked to better register clicks
|
onClicked: {
|
||||||
onPressed: {
|
|
||||||
if (Settings.data.wallpaper.setWallpaperOnAllMonitors) {
|
if (Settings.data.wallpaper.setWallpaperOnAllMonitors) {
|
||||||
WallpaperService.changeWallpaper(undefined, wallpaperPath)
|
WallpaperService.changeWallpaper(undefined, wallpaperPath)
|
||||||
} else if (screen) {
|
} else if (screen) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue