#49 - AddressBook crash when doubleclicking
This commit is contained in:
@@ -128,6 +128,10 @@ void AddressBook::open(MainWindow* parent, QLineEdit* target) {
|
||||
|
||||
// Double-Click picks the item
|
||||
QObject::connect(ab.addresses, &QTableView::doubleClicked, [&] (auto index) {
|
||||
// If there's no target, then double-clicking does nothing.
|
||||
if (!target)
|
||||
return;
|
||||
|
||||
if (index.row() < 0) return;
|
||||
|
||||
QString lbl = model.itemAt(index.row()).first;
|
||||
|
||||
@@ -105,7 +105,7 @@ cp src/scripts/desktopentry $debdir/usr/share/applications/zec-qt-wallet.desktop
|
||||
|
||||
dpkg-deb --build $debdir >/dev/null
|
||||
cp $debdir.deb artifacts/
|
||||
echo "[DONE]"
|
||||
echo "[OK]"
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -83,7 +83,6 @@ void MainWindow::setupSendTab() {
|
||||
QFont f = ui->Address1->font();
|
||||
f.setPointSize(f.pointSize() - 1);
|
||||
ui->MemoTxt1->setFont(f);
|
||||
|
||||
}
|
||||
|
||||
void MainWindow::updateLabelsAutoComplete() {
|
||||
|
||||
Reference in New Issue
Block a user