mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-225247 Optimize shortcut retrieval
GitOrigin-RevId: ae173a608935a97252287f1b07a3062ef81a6225
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3d989e2884
commit
9332a6c573
@@ -83,7 +83,7 @@ public final class PositionPanel extends EditorBasedWidget
|
||||
@Override
|
||||
public String getTooltipText() {
|
||||
String toolTip = UIBundle.message("go.to.line.command.name");
|
||||
String shortcut = KeymapUtil.getFirstKeyboardShortcutText("GotoLine");
|
||||
String shortcut = getShortcutText();
|
||||
|
||||
if (!Registry.is("ide.helptooltip.enabled") && StringUtil.isNotEmpty(shortcut)) {
|
||||
return toolTip + " (" + shortcut + ")";
|
||||
|
||||
Reference in New Issue
Block a user