Wizard: allow double click to open wallet

This commit is contained in:
tobtoht 2021-01-22 06:31:31 +01:00
parent c379456221
commit 696149096d
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C

View file

@ -59,6 +59,7 @@ OpenWalletPage::OpenWalletPage(AppContext *ctx, WalletKeysFilesModel *wallets, Q
connect(ui->walletTable->selectionModel(), &QItemSelectionModel::currentRowChanged, [this](QModelIndex current, QModelIndex prev){ connect(ui->walletTable->selectionModel(), &QItemSelectionModel::currentRowChanged, [this](QModelIndex current, QModelIndex prev){
this->updatePath(); this->updatePath();
}); });
connect(ui->walletTable, &QTreeView::doubleClicked, this, &OpenWalletPage::validatePage);
} }
void OpenWalletPage::initializePage() { void OpenWalletPage::initializePage() {