Wizard: fix wallet open

This commit is contained in:
tobtoht 2021-07-03 00:12:18 +02:00
parent 3442c4fc69
commit 3eb9412dc7
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C

View file

@ -61,8 +61,9 @@ void PageOpenWallet::updatePath() {
return; return;
} }
m_walletFile = index.model()->data(index.siblingAtColumn(WalletKeysFilesModel::Path), Qt::DisplayRole).toString(); m_walletFile = index.model()->data(index.siblingAtColumn(WalletKeysFilesModel::Path), Qt::UserRole).toString();
ui->linePath->setText(m_walletFile); QString path = index.model()->data(index.siblingAtColumn(WalletKeysFilesModel::Path), Qt::DisplayRole).toString();
ui->linePath->setText(path);
} }
int PageOpenWallet::nextId() const { int PageOpenWallet::nextId() const {