aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorrating89us <45968869+rating89us@users.noreply.github.com>2020-11-04 01:43:59 +0100
committerrating89us <rating89us@rating89us.com>2020-12-04 12:53:40 +0100
commit01c3c1965357200b07e2f7927dc72d770577f76e (patch)
tree7aea5220e41605d22fbede80a9b5b6d4ac50622b /components
parentaf0b3142a0181bf0b940544cf6ac648b1430da7c (diff)
downloadmonzero-gui-01c3c1965357200b07e2f7927dc72d770577f76e.tar.gz
monzero-gui-01c3c1965357200b07e2f7927dc72d770577f76e.tar.xz
monzero-gui-01c3c1965357200b07e2f7927dc72d770577f76e.zip
SuccessfulTxDialog: add View progress button
Diffstat (limited to 'components')
-rw-r--r--components/SuccessfulTxDialog.qml18
1 files changed, 16 insertions, 2 deletions
diff --git a/components/SuccessfulTxDialog.qml b/components/SuccessfulTxDialog.qml
index 051d46d2..3587a116 100644
--- a/components/SuccessfulTxDialog.qml
+++ b/components/SuccessfulTxDialog.qml
@@ -132,7 +132,7 @@ Rectangle {
fontSize: 16
}
- // open folder / done buttons
+ // view progress / open folder / done buttons
RowLayout {
id: buttons
spacing: 70
@@ -141,6 +141,20 @@ Rectangle {
Layout.preferredHeight: 50
MoneroComponents.StandardButton {
+ id: viewProgressButton
+ visible: !appWindow.viewOnly
+ text: qsTr("View progress") + translationManager.emptyString;
+ width: 200
+ primary: false
+ KeyNavigation.tab: doneButton
+ onClicked: {
+ doSearchInHistory(root.transactionID);
+ root.close()
+ root.rejected()
+ }
+ }
+
+ MoneroComponents.StandardButton {
id: openFolderButton
visible: appWindow.viewOnly
text: qsTr("Open folder") + translationManager.emptyString;
@@ -156,7 +170,7 @@ Rectangle {
text: qsTr("Done") + translationManager.emptyString;
width: 200
focus: root.visible
- KeyNavigation.tab: openFolderButton
+ KeyNavigation.tab: appWindow.viewOnly ? openFolderButton : viewProgressButton
onClicked: {
root.close()
root.accepted()