mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-16 17:27:38 +00:00
wizard: select first wallet, if it exists
This commit is contained in:
parent
9aee5fc834
commit
15360df99e
1 changed files with 6 additions and 0 deletions
|
@ -52,6 +52,12 @@ PageOpenWallet::PageOpenWallet(WalletKeysFilesModel *wallets, QWidget *parent)
|
|||
|
||||
void PageOpenWallet::initializePage() {
|
||||
m_walletKeysFilesModel->refresh();
|
||||
|
||||
// Select the first wallet, if it exists
|
||||
auto index = ui->walletTable->model()->index(0, 0);
|
||||
if (index.isValid()) {
|
||||
ui->walletTable->setCurrentIndex(index);
|
||||
}
|
||||
}
|
||||
|
||||
void PageOpenWallet::updatePath() {
|
||||
|
|
Loading…
Reference in a new issue