summaryrefslogtreecommitdiff
path: root/ui/qt5/firmwarepage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt5/firmwarepage.cc')
-rw-r--r--ui/qt5/firmwarepage.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt5/firmwarepage.cc b/ui/qt5/firmwarepage.cc
index 235d9af..4d5893e 100644
--- a/ui/qt5/firmwarepage.cc
+++ b/ui/qt5/firmwarepage.cc
@@ -46,8 +46,8 @@ FirmwarePage::FirmwarePage(QWidget *parent) : HorizonWizardPage(parent) {
setField("firmware", QVariant(false));
connect(firmwareChoice, static_cast<void (QButtonGroup:: *)(QAbstractButton *)>(&QButtonGroup::buttonClicked),
[=](QAbstractButton *button) {
- if(button == yesButton) setField("firmware", QVariant(true));
- else setField("firmware", QVariant(false));
+ if(button == yesButton) horizonWizard()->firmware = true;
+ else horizonWizard()->firmware = false;
});
setLayout(layout);