mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-19 23:31:40 +00:00
Don't duplicate tooltips and descriptions, but do use the description if there's no tooltip.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19155
This commit is contained in:
parent
dc5550c875
commit
81834a023e
@ -341,7 +341,7 @@ void ACTION_TOOLBAR::doSelectAction( ACTION_GROUP* aGroup, const TOOL_ACTION& aA
|
||||
return;
|
||||
|
||||
// Update the item information
|
||||
item->SetShortHelp( aAction.GetTooltip() );
|
||||
item->SetShortHelp( aAction.GetButtonTooltip() );
|
||||
item->SetBitmap( KiBitmapBundle( aAction.GetIcon() ) );
|
||||
item->SetDisabledBitmap( KiDisabledBitmapBundle( aAction.GetIcon() ) );
|
||||
|
||||
|
@ -2324,7 +2324,6 @@ TOOL_ACTION PCB_ACTIONS::tuneSingleTrack( TOOL_ACTION_ARGS()
|
||||
// Don't be tempted to remove "Modern Toolset only". It's in the legacy property name.
|
||||
.LegacyHotkeyName( "Tune Single Track (Modern Toolset only)" )
|
||||
.FriendlyName( _( "Tune Length of a Single Track" ) )
|
||||
.Tooltip( _( "Tune length of a single track" ) )
|
||||
.Icon( BITMAPS::ps_tune_length )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( PNS::PNS_MODE_TUNE_SINGLE ) );
|
||||
@ -2336,7 +2335,6 @@ TOOL_ACTION PCB_ACTIONS::tuneDiffPair( TOOL_ACTION_ARGS()
|
||||
// Don't be tempted to remove "Modern Toolset only". It's in the legacy property name.
|
||||
.LegacyHotkeyName( "Tune Differential Pair Length (Modern Toolset only)" )
|
||||
.FriendlyName( _( "Tune Length of a Differential Pair" ) )
|
||||
.Tooltip( _( "Tune length of a differential pair" ) )
|
||||
.Icon( BITMAPS::ps_diff_pair_tune_length )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( PNS::PNS_MODE_TUNE_DIFF_PAIR ) );
|
||||
@ -2348,7 +2346,6 @@ TOOL_ACTION PCB_ACTIONS::tuneSkew( TOOL_ACTION_ARGS()
|
||||
// Don't be tempted to remove "Modern Toolset only". It's in the legacy property name.
|
||||
.LegacyHotkeyName( "Tune Differential Pair Skew (Modern Toolset only)" )
|
||||
.FriendlyName( _( "Tune Skew of a Differential Pair" ) )
|
||||
.Tooltip( _( "Tune skew of a differential pair" ) )
|
||||
.Icon( BITMAPS::ps_diff_pair_tune_phase )
|
||||
.Flags( AF_ACTIVATE )
|
||||
.Parameter( PNS::PNS_MODE_TUNE_DIFF_PAIR_SKEW ) );
|
||||
|
Loading…
Reference in New Issue
Block a user