diff --git a/docs/TODO.md b/docs/TODO.md index 3ef0950a..5105f438 100644 --- a/docs/TODO.md +++ b/docs/TODO.md @@ -1,6 +1,5 @@ # TODO -- enter in field - sfx selection - custom action diff --git a/src/gui/Popups/PushRuleSettingsPopup/PushRuleSettingsPopup.qml b/src/gui/Popups/PushRuleSettingsPopup/PushRuleSettingsPopup.qml index dc5800bd..ad68b759 100644 --- a/src/gui/Popups/PushRuleSettingsPopup/PushRuleSettingsPopup.qml +++ b/src/gui/Popups/PushRuleSettingsPopup/PushRuleSettingsPopup.qml @@ -78,6 +78,7 @@ HFlickableColumnPopup { page.footer: AutoDirectionLayout { ApplyButton { + id: applyButton text: qsTr("Save changes") enabled: swipeView.currentItem.idField.text.trim() !== "" loading: saveFutureId !== "" @@ -98,6 +99,8 @@ HFlickableColumnPopup { } } + onKeyboardAccept: applyButton.clicked() + CustomLabel { visible: root.rule.default text: qsTr("Some settings cannot be changed for default server rules")