Browse Source

Don't show error on cancel

import_zecw
Aditya Kulkarni 5 years ago
parent
commit
4442d3aa59
  1. 3
      src/mainwindow.cpp

3
src/mainwindow.cpp

@ -671,6 +671,9 @@ void MainWindow::payZcashURI() {
QString uri = QInputDialog::getText(this, tr("Paste Zcash URI"),
"Zcash URI" + QString(" ").repeated(180));
if (uri.isEmpty())
return;
// URI should be of the form zcash://address?amt=x&memo=y
if (!uri.startsWith("zcash:")) {
payZcashURIError();

Loading…
Cancel
Save