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:
wp_xyz 2021-12-03 10:24:16 +01:00 committed by Maxim Ganetsky
parent 626125debf
commit 011b97d0e0

View File

@ -1830,6 +1830,7 @@ var
AMenuItem.BuildModeIndex := BuildModeIndex;
AMenuItem.Caption := CurMode.GetCaption;
AMenuItem.Checked := (Project1<>nil) and (Project1.ActiveBuildMode=CurMode);
AMenuItem.RadioItem := true;
AMenuItem.ShowAlwaysCheckable:=true;
inc(CurIndex);
end;