Addressed PR feedback.

This commit is contained in:
Andrei Smirnov 2021-09-02 15:39:50 +03:00 committed by Iuri Matias
parent 6b3ba88556
commit 5ba1b8a13d
2 changed files with 5 additions and 2 deletions

View File

@ -214,6 +214,9 @@ ScrollView {
ConfirmAppRestartModal { ConfirmAppRestartModal {
id: confirmAppRestartModal id: confirmAppRestartModal
onClosed: {
zoomSlider.value = zoomSlider.initialValue
}
} }
} }

View File

@ -14,7 +14,7 @@ ModalPopup {
title: qsTr("Application Restart") title: qsTr("Application Restart")
StyledText { 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 font.pixelSize: 15
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
@ -30,7 +30,7 @@ ModalPopup {
anchors.right: parent.right anchors.right: parent.right
anchors.rightMargin: Style.current.smallPadding anchors.rightMargin: Style.current.smallPadding
type: "warn" type: "warn"
text: qsTr("Proceed") text: qsTr("Restart")
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
onClicked: Qt.quit() onClicked: Qt.quit()
} }