summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-16 14:00:26 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-16 14:00:26 -0600
commitc5da88af8b079181db18948a006621a3af460221 (patch)
tree39de7043897c1a360bdd1223a609263b2ecb5d27 /ui
parentb7955e0136d06c73ae6e35506c7c40133c488603 (diff)
downloadhorizon-c5da88af8b079181db18948a006621a3af460221.tar.gz
horizon-c5da88af8b079181db18948a006621a3af460221.tar.bz2
horizon-c5da88af8b079181db18948a006621a3af460221.tar.xz
horizon-c5da88af8b079181db18948a006621a3af460221.zip
Qt UI: Acknowledge wpactrl message *after* saving it
Diffstat (limited to 'ui')
-rw-r--r--ui/qt5/netsimplewifipage.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/qt5/netsimplewifipage.cc b/ui/qt5/netsimplewifipage.cc
index 15de6f1..2d5e6de 100644
--- a/ui/qt5/netsimplewifipage.cc
+++ b/ui/qt5/netsimplewifipage.cc
@@ -343,10 +343,11 @@ bool NetworkSimpleWirelessPage::validatePage() {
if(raw_msg == nullptr) {
return;
}
- wpactrl_ackmsg(&control);
QString msg(raw_msg);
msg = msg.remove(0, 3);
+ wpactrl_ackmsg(&control);
+
if(msg.startsWith("CTRL-EVENT-CONNECTED")) {
/* Happy day! */
dialog->setRange(0, 1);