mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 01:28:19 +02:00
IDE: Remove an extra (F9) from the hint of a Run-button. Remove a wrong hint from ProjInspector's Options button. Issue #40732.
(cherry picked from commit 68a4595596
)
This commit is contained in:
parent
4c8e6dfa11
commit
d8fc71fe35
@ -4174,16 +4174,14 @@ begin
|
||||
|
||||
// project change build mode
|
||||
ACmd := IDECommandList.FindIDECommand(ecProjectChangeBuildMode);
|
||||
AHint := lisChangeBuildMode+' '+KeyValuesToCaptionStr(ACmd.ShortcutA,ACmd.ShortcutB,'(');
|
||||
AHint := lisChangeBuildMode;
|
||||
if Assigned(Project1) then
|
||||
AHint := AHint + sLineBreak + Project1.ActiveBuildMode.GetCaption;
|
||||
ACmd.Hint := AHint;
|
||||
if ProjInspector<>nil then
|
||||
ProjInspector.OptionsBitBtn.Hint := AHint; //ProjInspector.UpdateTitle;
|
||||
|
||||
// run
|
||||
ACmd := IDECommandList.FindIDECommand(ecRun);
|
||||
AHint := lisRun+' '+KeyValuesToCaptionStr(ACmd.ShortcutA,ACmd.ShortcutB,'(');
|
||||
AHint := lisRun;
|
||||
if Assigned(Project1) and Assigned(Project1.RunParameterOptions.GetActiveMode) then
|
||||
AHint := AHint + sLineBreak + Project1.RunParameterOptions.GetActiveMode.Name;
|
||||
ACmd.Hint := AHint;
|
||||
|
Loading…
Reference in New Issue
Block a user