mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 10:19:16 +02:00
IDE: Use radiobuttons in project buildmode menu (rather than checkboxes). Issue #39497, patch by Alexey Torgashin
(cherry picked from commit 2b2368cb83
)
This commit is contained in:
parent
626125debf
commit
011b97d0e0
@ -1830,6 +1830,7 @@ var
|
|||||||
AMenuItem.BuildModeIndex := BuildModeIndex;
|
AMenuItem.BuildModeIndex := BuildModeIndex;
|
||||||
AMenuItem.Caption := CurMode.GetCaption;
|
AMenuItem.Caption := CurMode.GetCaption;
|
||||||
AMenuItem.Checked := (Project1<>nil) and (Project1.ActiveBuildMode=CurMode);
|
AMenuItem.Checked := (Project1<>nil) and (Project1.ActiveBuildMode=CurMode);
|
||||||
|
AMenuItem.RadioItem := true;
|
||||||
AMenuItem.ShowAlwaysCheckable:=true;
|
AMenuItem.ShowAlwaysCheckable:=true;
|
||||||
inc(CurIndex);
|
inc(CurIndex);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user