aboutsummaryrefslogtreecommitdiff
path: root/wizard
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-05-01 12:22:49 +0000
committerxiphon <xiphon@protonmail.com>2020-05-07 21:55:44 +0000
commit4354a76df94c26f2298380eb657712dc3e06b470 (patch)
tree4e0bc611d28f84c07b3a96fe8e78b1bd1cb735d4 /wizard
parent7536e922e916150497162f8becca88738a02da9e (diff)
downloadmonzero-gui-4354a76df94c26f2298380eb657712dc3e06b470.tar.gz
monzero-gui-4354a76df94c26f2298380eb657712dc3e06b470.tar.xz
monzero-gui-4354a76df94c26f2298380eb657712dc3e06b470.zip
StandardDropdown: drop Qt 5.8 workaround
Diffstat (limited to 'wizard')
-rw-r--r--wizard/WizardCreateDevice1.qml7
-rw-r--r--wizard/WizardHome.qml6
2 files changed, 1 insertions, 12 deletions
diff --git a/wizard/WizardCreateDevice1.qml b/wizard/WizardCreateDevice1.qml
index 4cc6640a..97623283 100644
--- a/wizard/WizardCreateDevice1.qml
+++ b/wizard/WizardCreateDevice1.qml
@@ -53,11 +53,6 @@ Rectangle {
ListElement { column1: "Trezor Model T"; column2: "Trezor";}
}
- function update(){
- // update device dropdown
- deviceNameDropdown.update();
- }
-
ColumnLayout {
id: pageRoot
Layout.alignment: Qt.AlignHCenter;
@@ -208,8 +203,6 @@ Rectangle {
Component.onCompleted: {
errorMsg.text = "";
- wizardCreateDevice1.update();
- console.log()
}
function onPageCompleted(previousView){
diff --git a/wizard/WizardHome.qml b/wizard/WizardHome.qml
index 4d042a2a..589ec6c0 100644
--- a/wizard/WizardHome.qml
+++ b/wizard/WizardHome.qml
@@ -191,6 +191,7 @@ Rectangle {
MoneroComponents.StandardDropdown {
id: networkTypeDropdown
+ currentIndex: persistentSettings.nettype
dataModel: networkTypeModel
Layout.fillWidth: true
Layout.maximumWidth: 180
@@ -244,11 +245,6 @@ Rectangle {
}
}
- Component.onCompleted: {
- networkTypeDropdown.currentIndex = persistentSettings.nettype;
- networkTypeDropdown.update();
- }
-
function onPageCompleted(){
wizardController.walletOptionsIsRecoveringFromDevice = false;
}