mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-08 07:37:27 +01:00
IDE: Disable "Change build mode" button on coolbar during build. Issue #40909
This commit is contained in:
parent
c3c7999e20
commit
04759c056d
@ -49,7 +49,7 @@ uses
|
||||
// BuildIntf
|
||||
ComponentReg,
|
||||
// IDEIntf
|
||||
MenuIntf, LazIDEIntf, IDEWindowIntf, IDEImagesIntf,
|
||||
MenuIntf, LazIDEIntf, IDEWindowIntf, IDEImagesIntf, IDECommands,
|
||||
// IdeConfig
|
||||
CoolBarOptions,
|
||||
// IDE
|
||||
@ -872,6 +872,8 @@ begin
|
||||
itmToolRescanFPCSrcDir.Enabled:=aAllow;
|
||||
itmToolBuildLazarus.Enabled:=aAllow;
|
||||
//itmToolConfigureBuildLazarus.Enabled:=aAllow;
|
||||
// IDE CoolBar
|
||||
IDECommandList.FindIDECommand(ecProjectChangeBuildMode).Enabled := aAllow;
|
||||
end;
|
||||
|
||||
end.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user