IDE: Make "Build many modes" to always return to original mode. Issue #26797

git-svn-id: trunk@46347 -
This commit is contained in:
juha 2014-09-29 18:22:22 +00:00
parent afebfc0820
commit f3121878a3

View File

@ -4050,8 +4050,8 @@ begin
if not BuildOneMode then Exit;
end;
// Switch back to original mode.
if ModeList.Count > 0 then
Project1.ActiveBuildMode := ActiveMode;
Project1.ActiveBuildMode := ActiveMode;
MainIDE.UpdateCaption;
Msg := Format(lisSelectedModesWereBuilt, [ModeCnt]);
IDEMessageDialog(lisSuccess, Msg, mtInformation, [mbOK]);
Result:=True;