WidgetSettings: add close button - now apply only applies changes and doesn't close (fixes #1413)

This commit is contained in:
Lysec
2026-01-25 19:01:25 +01:00
parent 45616f204f
commit 42bfa9fb1c
5 changed files with 6 additions and 11 deletions
@@ -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();
}
}
}