mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
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:
parent
7b214efd3d
commit
68eea8d30b
2 changed files with 4 additions and 0 deletions
|
|
@ -1336,4 +1336,6 @@ public:
|
|||
// void CodeBrowser();
|
||||
};
|
||||
|
||||
inline void ShowConsole() { if(TheIde()) ((Ide *)TheIde())->ShowConsole(); }
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue