diff --git a/uppsrc/ide/ide.h b/uppsrc/ide/ide.h index f997e7083..8f6f52729 100644 --- a/uppsrc/ide/ide.h +++ b/uppsrc/ide/ide.h @@ -1336,4 +1336,6 @@ public: // void CodeBrowser(); }; +inline void ShowConsole() { if(TheIde()) ((Ide *)TheIde())->ShowConsole(); } + #endif diff --git a/uppsrc/ide/t.cpp b/uppsrc/ide/t.cpp index 925fa5adf..d4df20833 100644 --- a/uppsrc/ide/t.cpp +++ b/uppsrc/ide/t.cpp @@ -70,6 +70,7 @@ void LngParseCFile(const String& fn, VectorMap& lng) } catch(CParser::Error e) { PutConsole(e); + ShowConsole(); } } @@ -130,6 +131,7 @@ bool LngParseTFile(const String& fn, VectorMap& lng) } catch(CParser::Error e) { PutConsole(e); + ShowConsole(); return false; } return true;