mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix toolbar customizations inside unnamed groups (IDEA-105639)
This commit is contained in:
+2
-1
@@ -29,6 +29,7 @@ import com.intellij.openapi.keymap.impl.ui.ActionsTreeUtil;
|
||||
import com.intellij.openapi.keymap.impl.ui.Group;
|
||||
import com.intellij.openapi.util.*;
|
||||
import com.intellij.openapi.util.io.FileUtil;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.openapi.vfs.VfsUtil;
|
||||
import com.intellij.openapi.wm.ex.WindowManagerEx;
|
||||
import com.intellij.openapi.wm.impl.IdeFrameImpl;
|
||||
@@ -229,7 +230,7 @@ public class CustomActionsSchema implements ExportableComponent, NamedJDOMExtern
|
||||
}
|
||||
|
||||
final String text = group.getTemplatePresentation().getText();
|
||||
if (text != null) {
|
||||
if (!StringUtil.isEmpty(text)) {
|
||||
for (ActionUrl url : myActions) {
|
||||
if (url.getGroupPath().contains(text) || url.getGroupPath().contains(defaultGroupName)) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user