Origin commit data
------------------
Commit: d065c1f394
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-11-21 (Mon, 21 Nov 2016)
This commit is contained in:
vanhofen
2016-11-21 00:14:20 +01:00
22 changed files with 160 additions and 71 deletions

View File

@@ -584,15 +584,14 @@ void CNetworkSetup::applyNetworkSettings()
if (!checkForIP())
return;
CHintBox * hintBox = new CHintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_NETWORKMENU_APPLY_SETTINGS)); // UTF-8
hintBox->paint();
CHintBox hintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_NETWORKMENU_APPLY_SETTINGS)); // UTF-8
hintBox.paint();
networkConfig->stopNetwork();
saveNetworkSettings();
networkConfig->startNetwork();
hintBox->hide();
delete hintBox;
hintBox.hide();
}
//open a message dialog with buttons,