mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
wizard: select first wallet, if it exists
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user