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

This commit is contained in:
[CST] Focus
2014-11-20 14:25:48 +03:00
parent 30c5e7b900
commit 156b515155
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;