mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
WidgetSettings: add close button - now apply only applies changes and doesn't close (fixes #1413)
This commit is contained in:
@@ -122,7 +122,7 @@ Popup {
|
||||
}
|
||||
|
||||
NButton {
|
||||
text: I18n.tr("common.cancel", "Cancel")
|
||||
text: I18n.tr("common.close")
|
||||
outlined: true
|
||||
onClicked: root.close()
|
||||
}
|
||||
@@ -134,7 +134,6 @@ Popup {
|
||||
if (settingsLoader.item && settingsLoader.item.saveSettings) {
|
||||
var newSettings = settingsLoader.item.saveSettings();
|
||||
root.updateWidgetSettings(root.sectionId, root.widgetIndex, newSettings);
|
||||
root.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user