aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-04-24 16:14:28 -0400
committerluigi1111 <luigi1111w@gmail.com>2021-04-24 16:14:28 -0400
commitc11e32f511fdd8f1998b50aeab6da4f91dc903b6 (patch)
tree7eed9fb77347eeee74b32e80970432714c591295 /components
parentbc1131ce41f5386639ddf0538df8044cb5271598 (diff)
parent01c3c1965357200b07e2f7927dc72d770577f76e (diff)
downloadmonzero-gui-c11e32f511fdd8f1998b50aeab6da4f91dc903b6.tar.gz
monzero-gui-c11e32f511fdd8f1998b50aeab6da4f91dc903b6.tar.xz
monzero-gui-c11e32f511fdd8f1998b50aeab6da4f91dc903b6.zip
Merge pull request #3208
01c3c19 SuccessfulTxDialog: add View progress button (rating89us)
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()