From 5ba1b8a13d1a6ecc89b5def1dd824b0fcc940749 Mon Sep 17 00:00:00 2001 From: Andrei Smirnov Date: Thu, 2 Sep 2021 15:39:50 +0300 Subject: [PATCH] Addressed PR feedback. --- ui/app/AppLayouts/Profile/Sections/AppearanceContainer.qml | 3 +++ ui/app/AppLayouts/Profile/Sections/ConfirmAppRestartModal.qml | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ui/app/AppLayouts/Profile/Sections/AppearanceContainer.qml b/ui/app/AppLayouts/Profile/Sections/AppearanceContainer.qml index 664181de70..d0d2e2e30f 100644 --- a/ui/app/AppLayouts/Profile/Sections/AppearanceContainer.qml +++ b/ui/app/AppLayouts/Profile/Sections/AppearanceContainer.qml @@ -214,6 +214,9 @@ ScrollView { ConfirmAppRestartModal { id: confirmAppRestartModal + onClosed: { + zoomSlider.value = zoomSlider.initialValue + } } } diff --git a/ui/app/AppLayouts/Profile/Sections/ConfirmAppRestartModal.qml b/ui/app/AppLayouts/Profile/Sections/ConfirmAppRestartModal.qml index 3a9fa3a585..bdf807b8e2 100644 --- a/ui/app/AppLayouts/Profile/Sections/ConfirmAppRestartModal.qml +++ b/ui/app/AppLayouts/Profile/Sections/ConfirmAppRestartModal.qml @@ -14,7 +14,7 @@ ModalPopup { title: qsTr("Application Restart") StyledText { - text: qsTr("Status app will be closed. Please restart it for the changes to take into effect.") + text: qsTr("Please restart the application to apply the changes.") font.pixelSize: 15 anchors.left: parent.left anchors.right: parent.right @@ -30,7 +30,7 @@ ModalPopup { anchors.right: parent.right anchors.rightMargin: Style.current.smallPadding type: "warn" - text: qsTr("Proceed") + text: qsTr("Restart") anchors.bottom: parent.bottom onClicked: Qt.quit() }