mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-123477 Newly created Live Surround Template shows null in UI
This commit is contained in:
+2
-1
@@ -41,7 +41,8 @@ public class InvokeTemplateAction extends AnAction {
|
||||
private final Project myProject;
|
||||
|
||||
public InvokeTemplateAction(TemplateImpl template, Editor editor, Project project, Set<Character> usedMnemonicsSet) {
|
||||
super(extractMnemonic(template.getKey(), usedMnemonicsSet) + ". " + template.getDescription());
|
||||
super(extractMnemonic(template.getKey(), usedMnemonicsSet) +
|
||||
(StringUtil.isEmptyOrSpaces(template.getDescription()) ? "" : ". " + template.getDescription()));
|
||||
myTemplate = template;
|
||||
myProject = project;
|
||||
myEditor = editor;
|
||||
|
||||
Reference in New Issue
Block a user