gui/network_setup.cpp: fix crash on settings restore, if no wlan present

Origin commit data
------------------
Branch: ni/coolstream
Commit: 156b515155
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-11-20 (Thu, 20 Nov 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2014-11-20 14:25:48 +03:00
parent 282d9fc29f
commit 638455b64b
2 changed files with 14 additions and 17 deletions

View File

@@ -74,8 +74,8 @@ class CNetworkSetup : public CMenuTarget, CChangeObserver
std::string old_mac_addr;
CMenuForwarder* dhcpDisable[5];
CMenuForwarder* wlanEnable[3];
CGenericMenuActivate dhcpDisable;
CGenericMenuActivate wlanEnable;
CSectionsdConfigNotifier* sectionsdConfigNotifier;