Fix network IP setting change

Fix #5368

(cherry picked from commit 515472bc52)
This commit is contained in:
volzhs 2016-06-24 15:40:00 +09:00 committed by Rémi Verschelde
parent 7fd9ff70f9
commit c2226d1199
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ void EditorSettings::setup_network() {
if (ip=="127.0.0.1")
continue;
if (lip!="")
if (lip=="")
lip=ip;
if (ip==current)
lip=current; //so it saves