Compare commits

...

1 Commits

  1. 8
      src/mainwindow.cpp
  2. 21
      src/privkey.ui

8
src/mainwindow.cpp

@ -947,8 +947,8 @@ void MainWindow::donate() {
}
rpc->importTPrivKey(key, [=] (auto) { this->doImport(keys); });
}else{
QMessageBox::critical(this, tr("Wrong Privatkey format"),
tr("Privatkey should start with 5, K, L or U (for taddr) or secret- (for zaddr)") + "\n");
QMessageBox::critical(this, tr("Wrong Private key format"),
tr("Private key should start with 5, K, L or U (for taddr) or secret- (for zaddr)") + "\n");
return;
}
}
@ -1097,9 +1097,7 @@ void MainWindow::payhushURI(QString uri, QString myAddr) {
});
}else if ((pui.rescan->isChecked() == true) && (pui.privKeyTxt->toPlainText().startsWith("secret"))){
// Show the dialog that keys will be imported.
// Show the dialog that keys will be imported.
QMessageBox::information(this,
"Imported", tr("The keys were imported. It may take several minutes to rescan the blockchain. Until then, functionality may be limited"),
QMessageBox::Ok);

21
src/privkey.ui

@ -28,7 +28,7 @@
</property>
</widget>
</item>
<item row="2" column="2">
<item row="2" column="4">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
@ -38,7 +38,24 @@
</property>
</widget>
</item>
<item row="2" column="1">
<item row="2" column="1">
<widget class="QLineEdit" name="rescanHeight">
<property name="text">
<string>1</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="labelrescanHeight">
<property name="text">
<string> Rescan Height (Birthday Block) </string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QRadioButton" name="rescan">
<property name="text">
<string>Rescan Wallet</string>

Loading…
Cancel
Save