Browse Source

Try to raise window when URI is pasted

pull/45/head
Aditya Kulkarni 5 years ago
parent
commit
4e185834f6
  1. 1
      src/mainwindow.cpp
  2. 4
      src/scripts/zec-qt-wallet.wxs

1
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;

4
src/scripts/zec-qt-wallet.wxs

@ -65,9 +65,7 @@
<File Source="zcash-cli.exe" />
<File Source="README.md" />
<RegistryKey Root="HKCR"
Key="zcash"
Action="createAndRemoveOnUninstall">
<RegistryKey Root="HKCR" Key="zcash">
<RegistryValue Type="string" Name="URL Protocol" Value=""/>
<RegistryValue Type="string" Value="URL:zcash URI protocol"/>
<RegistryKey Key="DefaultIcon">

Loading…
Cancel
Save