diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-02-01 01:09:58 -0600 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-02-01 01:09:58 -0600 |
| commit | 0ac4c8c07d992a11858c66a53e89bb904bc81182 (patch) | |
| tree | 48d0e422c227c53c138c2fe2e14473e30a7c1c69 | |
| parent | f8008002f63fe8094d7996710b01146788a24e07 (diff) | |
| parent | 9b5b2411633cc754c0011949ba31f69e54fec50f (diff) | |
| download | monzero-gui-0ac4c8c07d992a11858c66a53e89bb904bc81182.tar.gz monzero-gui-0ac4c8c07d992a11858c66a53e89bb904bc81182.tar.xz monzero-gui-0ac4c8c07d992a11858c66a53e89bb904bc81182.zip | |
Merge pull request #1921
9b5b241 History: omit redundant 'Cancel' button in confirmation dialog (xiphon)
| -rw-r--r-- | pages/History.qml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pages/History.qml b/pages/History.qml index d4ddea43..c17d3ab7 100644 --- a/pages/History.qml +++ b/pages/History.qml @@ -384,17 +384,18 @@ Rectangle { var written = currentWallet.history.writeCSV(currentWallet.currentSubaddressAccount, dataDir); if(written !== ""){ - confirmationDialog.title = qsTr("Success") + translationManager.emptyString; + informationPopup.title = qsTr("Success") + translationManager.emptyString; var text = qsTr("CSV file written to: %1").arg(written) + "\n\n" text += qsTr("Tip: Use your favorite spreadsheet software to sort on blockheight.") + "\n\n" + translationManager.emptyString; - confirmationDialog.text = text; - confirmationDialog.icon = StandardIcon.Information; + informationPopup.text = text; + informationPopup.icon = StandardIcon.Information; } else { - confirmationDialog.title = qsTr("Error") + translationManager.emptyString; - confirmationDialog.text = qsTr("Error exporting transaction data.") + "\n\n" + translationManager.emptyString; - confirmationDialog.icon = StandardIcon.Critical; + informationPopup.title = qsTr("Error") + translationManager.emptyString; + informationPopup.text = qsTr("Error exporting transaction data.") + "\n\n" + translationManager.emptyString; + informationPopup.icon = StandardIcon.Critical; } - confirmationDialog.open() + informationPopup.onCloseCallback = null; + informationPopup.open(); } Component.onCompleted: { var _folder = 'file://' + moneroAccountsDir; |
