aboutsummaryrefslogtreecommitdiff
path: root/wizard/WizardOpenWallet1.qml
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-07-14 01:45:34 +0000
committerxiphon <xiphon@protonmail.com>2020-07-14 23:44:46 +0000
commit13ee9b1f26831b208b33bb977d0fdda61bfec452 (patch)
tree111b476735dce1cdc9fb45ec30b8c7a7d286224a /wizard/WizardOpenWallet1.qml
parentc137a6ea36040aee20366933935805eff67ae3f8 (diff)
downloadmonzero-gui-13ee9b1f26831b208b33bb977d0fdda61bfec452.tar.gz
monzero-gui-13ee9b1f26831b208b33bb977d0fdda61bfec452.tar.xz
monzero-gui-13ee9b1f26831b208b33bb977d0fdda61bfec452.zip
KeysFiles: fix WalletKeysFilesModel, should be instantiable QML type
Diffstat (limited to 'wizard/WizardOpenWallet1.qml')
-rw-r--r--wizard/WizardOpenWallet1.qml9
1 files changed, 7 insertions, 2 deletions
diff --git a/wizard/WizardOpenWallet1.qml b/wizard/WizardOpenWallet1.qml
index 85bc48d7..9385b88b 100644
--- a/wizard/WizardOpenWallet1.qml
+++ b/wizard/WizardOpenWallet1.qml
@@ -33,6 +33,7 @@ import QtQuick.Controls 2.0
import QtGraphicalEffects 1.0
import Qt.labs.folderlistmodel 2.1
import moneroComponents.NetworkType 1.0
+import moneroComponents.WalletKeysFilesModel 1.0
import "../js/Wizard.js" as Wizard
import "../components"
@@ -45,7 +46,11 @@ Rectangle {
color: "transparent"
property alias pageHeight: pageRoot.height
property string viewName: "wizardOpenWallet1"
- property int walletCount: walletKeysFilesModel ? walletKeysFilesModel.rowCount() : 0
+ property int walletCount: walletKeysFilesModel.rowCount()
+
+ WalletKeysFilesModel {
+ id: walletKeysFilesModel
+ }
ColumnLayout {
id: pageRoot
@@ -112,7 +117,7 @@ Rectangle {
Repeater {
id: recentList
clip: true
- model: walletKeysFilesModelProxy
+ model: walletKeysFilesModel.proxyModel
Layout.fillWidth: true
Layout.minimumWidth: flow.itemHeight
Layout.preferredHeight: parent.height