From 01c3c1965357200b07e2f7927dc72d770577f76e Mon Sep 17 00:00:00 2001 From: rating89us <45968869+rating89us@users.noreply.github.com> Date: Wed, 4 Nov 2020 01:43:59 +0100 Subject: SuccessfulTxDialog: add View progress button --- components/SuccessfulTxDialog.qml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'components') 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 @@ -140,6 +140,20 @@ Rectangle { Layout.fillWidth: true 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 @@ -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() -- cgit v1.2.3