mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
NInputButton properly uses NTextInput
This commit is contained in:
@@ -350,11 +350,8 @@ ColumnLayout {
|
||||
"initialPath": Settings.data.wallpaper.directory || Quickshell.env("HOME"),
|
||||
"selectFiles": false,
|
||||
"scaling": scaling,
|
||||
"onSelected": function (path) {
|
||||
Settings.data.wallpaper.directory = path
|
||||
wallpaperPathInput.text = path
|
||||
},
|
||||
"parent": root
|
||||
"parent": root,
|
||||
"onSelected": path => Settings.data.wallpaper.directory = path
|
||||
})
|
||||
}
|
||||
|
||||
@@ -364,10 +361,8 @@ ColumnLayout {
|
||||
"initialPath": WallpaperService.getMonitorDirectory(monitorName),
|
||||
"selectFiles": false,
|
||||
"scaling": scaling,
|
||||
"onSelected": function (path) {
|
||||
WallpaperService.setMonitorDirectory(monitorName, path)
|
||||
},
|
||||
"parent": root
|
||||
"parent": root,
|
||||
"onSelected": path => WallpaperService.setMonitorDirectory(monitorName, path)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user