diff --git a/electrum/gui/qml/components/WalletMainView.qml b/electrum/gui/qml/components/WalletMainView.qml index 76123d99c..bfdb9f522 100644 --- a/electrum/gui/qml/components/WalletMainView.qml +++ b/electrum/gui/qml/components/WalletMainView.qml @@ -485,7 +485,7 @@ Item { var dialog = app.messageDialog.createObject(app, { title: qsTr('Error'), iconSource: Qt.resolvedUrl('../../icons/warning.png'), - text: message + text: message ? message : qsTr('Payment failed') }) dialog.open() } diff --git a/electrum/gui/qml/components/main.qml b/electrum/gui/qml/components/main.qml index daade9c63..e89afc227 100644 --- a/electrum/gui/qml/components/main.qml +++ b/electrum/gui/qml/components/main.qml @@ -613,10 +613,10 @@ ApplicationWindow } // TODO: add to notification queue instead of barging through function onPaymentSucceeded(key) { - notificationPopup.show(Daemon.currentWallet.name, qsTr('Payment Succeeded')) + notificationPopup.show(Daemon.currentWallet.name, qsTr('Payment succeeded')) } function onPaymentFailed(key, reason) { - notificationPopup.show(Daemon.currentWallet.name, qsTr('Payment Failed') + ': ' + reason) + notificationPopup.show(Daemon.currentWallet.name, qsTr('Payment failed') + ': ' + reason) } }