ide: Synchronize translation files now show console in case of error

git-svn-id: svn://ultimatepp.org/upp/trunk@8152 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-02-08 12:13:16 +00:00
parent 7b214efd3d
commit 68eea8d30b
2 changed files with 4 additions and 0 deletions

View file

@ -1336,4 +1336,6 @@ public:
// void CodeBrowser();
};
inline void ShowConsole() { if(TheIde()) ((Ide *)TheIde())->ShowConsole(); }
#endif

View file

@ -70,6 +70,7 @@ void LngParseCFile(const String& fn, VectorMap<String, LngEntry>& lng)
}
catch(CParser::Error e) {
PutConsole(e);
ShowConsole();
}
}
@ -130,6 +131,7 @@ bool LngParseTFile(const String& fn, VectorMap<String, LngEntry>& lng)
}
catch(CParser::Error e) {
PutConsole(e);
ShowConsole();
return false;
}
return true;