mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-13 11:49:24 +02:00
IDE: Remove a redundant ToolStatus test.
git-svn-id: trunk@62256 -
This commit is contained in:
parent
410b95d666
commit
4e9cd68c9f
@ -3894,10 +3894,9 @@ begin
|
||||
begin
|
||||
if (rfInteractive in AFlags)
|
||||
and (IDEQuestionDialog(lisStopDebugging, lisStopTheDebugging,
|
||||
mtConfirmation, [mrYes, lisStop,
|
||||
mrCancel, lisContinue]) <> mrYes)
|
||||
mtConfirmation, [mrYes,lisStop, mrCancel,lisContinue]) <> mrYes)
|
||||
then exit;
|
||||
if (DebugBoss.DoStopProject = mrOK) and (ToolStatus = itDebugger) and (rfCloseOnDone in AFlags) then
|
||||
if (DebugBoss.DoStopProject = mrOK) and (rfCloseOnDone in AFlags) then
|
||||
FWaitForClose := True;
|
||||
if rfSuccessOnTrigger in AFlags then
|
||||
exit(true);
|
||||
|
Loading…
Reference in New Issue
Block a user