IDE: Disable Stop-button at start and allow ide work before user action. Issue #19229

git-svn-id: trunk@30475 -
This commit is contained in:
juha 2011-04-26 07:29:35 +00:00
parent bbe278a9a0
commit e0b9b39774

View File

@ -1441,17 +1441,14 @@ begin
Application.AddOnEndSessionHandler(@OnApplicationEndSession);
Screen.AddHandlerRemoveForm(@OnScreenRemoveForm);
SetupHints;
SetupIDEWindowsLayout;
RestoreIDEWindows;
// make sure the main IDE bar is always shown
IDEWindowCreators.ShowForm(MainIDEBar,false);
// Now load a project
SetupStartProject;
// reopen extra windows
DoShowMessagesView(false);
DebugBoss.UpdateButtonsAndMenuItems; // Disable Stop-button (and some others).
SetupStartProject; // Now load a project
DoShowMessagesView(false); // reopen extra windows
fUserInputSinceLastIdle:=true; // Idle work gets done initially before user action.
{$IFDEF IDE_MEM_CHECK}CheckHeapWrtMemCnt('TMainIDE.StartIDE END');{$ENDIF}
end;