summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/qt5/networkingpage.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/qt5/networkingpage.cc b/ui/qt5/networkingpage.cc
index 86f8aff..c1bf372 100644
--- a/ui/qt5/networkingpage.cc
+++ b/ui/qt5/networkingpage.cc
@@ -14,6 +14,7 @@
#include "horizonwizard.hh"
#include <QLabel>
+#include <QVariant>
#include <QVBoxLayout>
NetworkingPage::NetworkingPage(QWidget *parent) : HorizonWizardPage(parent) {
@@ -54,7 +55,10 @@ void NetworkingPage::initializePage() {
radioGroup->addButton(skip);
QObject::connect(radioGroup, static_cast<void (QButtonGroup:: *)(QAbstractButton *)>(&QButtonGroup::buttonClicked),
- [=](QAbstractButton *) {
+ [=](QAbstractButton *button) {
+ if(button == skip) setField("network", QVariant(false));
+ else setField("network", QVariant(true));
+
emit completeChanged();
});