Wizard: Sort wallets by modified date

This commit is contained in:
tobtoht
2020-12-19 00:13:33 +01:00
parent 68f8be01ac
commit 4476741ace
4 changed files with 31 additions and 4 deletions
+3 -1
View File
@@ -133,7 +133,7 @@ int WalletKeysFilesModel::rowCount(const QModelIndex & parent) const {
}
int WalletKeysFilesModel::columnCount(const QModelIndex &) const {
return 3;
return 4;
}
QVariant WalletKeysFilesModel::data(const QModelIndex &index, int role) const {
@@ -162,6 +162,8 @@ QVariant WalletKeysFilesModel::data(const QModelIndex &index, int role) const {
#endif
return fp;
}
case ModelColumns::Modified:
return walletKeyFile.modified();
default:
break;
}