aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-03-03 11:44:13 +0100
committerJaquee <jaquee.monero@gmail.com>2017-03-03 15:40:46 +0100
commit01e735cc0e56c1e68bea3618fbc0cccc7bf88a29 (patch)
tree9ecc492023fd92c80ae3cc6933ef7d983e9d5e9d /components
parentbce496b8d13c6a303d8e20ffbf2497cf9e532430 (diff)
downloadmonzero-gui-01e735cc0e56c1e68bea3618fbc0cccc7bf88a29.tar.gz
monzero-gui-01e735cc0e56c1e68bea3618fbc0cccc7bf88a29.tar.xz
monzero-gui-01e735cc0e56c1e68bea3618fbc0cccc7bf88a29.zip
move OK button to the right in confirm exit dialog
Diffstat (limited to 'components')
-rw-r--r--components/StandardDialog.qml16
1 files changed, 8 insertions, 8 deletions
diff --git a/components/StandardDialog.qml b/components/StandardDialog.qml
index 3546de24..42760f5c 100644
--- a/components/StandardDialog.qml
+++ b/components/StandardDialog.qml
@@ -102,34 +102,34 @@ Window {
Layout.alignment: Qt.AlignHCenter
MoneroComponents.StandardButton {
- id: okButton
+ id: cancelButton
width: 120
fontSize: 14
shadowReleasedColor: "#FF4304"
shadowPressedColor: "#B32D00"
releasedColor: "#FF6C3C"
pressedColor: "#FF4304"
- text: qsTr("Ok")
- KeyNavigation.tab: cancelButton
+ text: qsTr("Cancel")
onClicked: {
root.close()
- root.accepted()
-
+ root.rejected()
}
}
MoneroComponents.StandardButton {
- id: cancelButton
+ id: okButton
width: 120
fontSize: 14
shadowReleasedColor: "#FF4304"
shadowPressedColor: "#B32D00"
releasedColor: "#FF6C3C"
pressedColor: "#FF4304"
- text: qsTr("Cancel")
+ text: qsTr("Ok")
+ KeyNavigation.tab: cancelButton
onClicked: {
root.close()
- root.rejected()
+ root.accepted()
+
}
}
}