mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
make non-focusable for SE and all other uses
GitOrigin-RevId: aaf909d69786633499fe1b588cd27ce109795765
This commit is contained in:
committed by
intellij-monorepo-bot
parent
431918275c
commit
e83fd7e93e
@@ -4,6 +4,7 @@ package com.intellij.openapi.actionSystem.ex;
|
||||
|
||||
import com.intellij.ide.DataManager;
|
||||
import com.intellij.openapi.actionSystem.*;
|
||||
import com.intellij.ui.components.JBCheckBox;
|
||||
import com.intellij.util.ui.JBUI;
|
||||
import com.intellij.util.ui.UIUtil;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
@@ -30,7 +31,8 @@ public abstract class CheckboxAction extends ToggleAction implements CustomCompo
|
||||
@NotNull
|
||||
@Override
|
||||
public JComponent createCustomComponent(@NotNull Presentation presentation, @NotNull String place) {
|
||||
JCheckBox checkBox = new JCheckBox();
|
||||
JBCheckBox checkBox = new JBCheckBox();
|
||||
checkBox.setFocusable(false);
|
||||
updateCustomComponent(checkBox, presentation);
|
||||
return createCheckboxComponent(checkBox, this, place);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user