mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 16:40:32 +02:00
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:
parent
bbe278a9a0
commit
e0b9b39774
11
ide/main.pp
11
ide/main.pp
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user