Commit a0e9129e authored by OyyoDams's avatar OyyoDams

Resolve "Fix wifi issue"

parent 7be181de
......@@ -1258,7 +1258,6 @@ void GuiMenu::menuNetworkSettings(){
std::string newSSID = RecalboxConf::getInstance()->get("wifi.ssid");
std::string newKey = RecalboxConf::getInstance()->get("wifi.key");
RecalboxConf::getInstance()->saveRecalboxConf();
if (wifienabled) {
if (baseSSID != newSSID
|| baseKEY != newKey
......@@ -1277,6 +1276,7 @@ void GuiMenu::menuNetworkSettings(){
}
RecalboxConf::getInstance()->set("wifi.enabled", wifienabled ? "1" : "0");
RecalboxConf::getInstance()->saveRecalboxConf();
});
mWindow->pushGui(s);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment