From 4e185834f61654247bb903dfed904911fddca6bc Mon Sep 17 00:00:00 2001 From: Aditya Kulkarni Date: Wed, 20 Mar 2019 10:06:08 -0700 Subject: [PATCH] Try to raise window when URI is pasted --- src/mainwindow.cpp | 1 + src/scripts/zec-qt-wallet.wxs | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 6ef6251..1a365e0 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -876,6 +876,7 @@ void MainWindow::payZcashURI(QString uri) { // And switch to the send tab. ui->tabWidget->setCurrentIndex(1); + raise(); // And click the send button if the amount is > 0, to validate everything. If everything is OK, it will show the confirm box // else, show the error message; diff --git a/src/scripts/zec-qt-wallet.wxs b/src/scripts/zec-qt-wallet.wxs index f2e0298..a781c8f 100644 --- a/src/scripts/zec-qt-wallet.wxs +++ b/src/scripts/zec-qt-wallet.wxs @@ -65,9 +65,7 @@ - +