mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
UserLog in theide now active only if there is ConfigFile(developide)
git-svn-id: svn://ultimatepp.org/upp/trunk@1158 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
e3591f289d
commit
8b4c8d2924
1 changed files with 6 additions and 5 deletions
|
|
@ -674,10 +674,6 @@ GUI_APP_MAIN
|
|||
void AppMain___()
|
||||
#endif
|
||||
{
|
||||
#ifdef PLATFORM_WIN32
|
||||
InstallCrashDump();
|
||||
#endif
|
||||
|
||||
SetLanguage(LNG_ENGLISH);
|
||||
SetDefaultCharset(CHARSET_UTF8);
|
||||
|
||||
|
|
@ -955,7 +951,12 @@ void AppMain___()
|
|||
ide.UpdateFormat();
|
||||
RestoreKeys(LoadFile(ConfigFile("ide.key")));
|
||||
ide.editor.LoadHlStyles(LoadFile(ConfigFile("ide.colors")));
|
||||
ActivateUsrLog();
|
||||
if(FileExists(ConfigFile("developide"))) {
|
||||
#ifdef PLATFORM_WIN32
|
||||
InstallCrashDump();
|
||||
#endif
|
||||
ActivateUsrLog();
|
||||
}
|
||||
if(clset || ide.OpenMainPackage()) {
|
||||
StoreToFile(ide);
|
||||
SyncRefs();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue