mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[dvcs] branch popup: show disabled actions to avoid confusion like in IDEA-128449
This commit is contained in:
@@ -34,13 +34,10 @@ import org.jetbrains.annotations.Nullable;
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
|
||||
/**
|
||||
* @author Nadya Zabrodina
|
||||
*/
|
||||
public class BranchActionGroupPopup extends PopupFactoryImpl.ActionGroupPopup {
|
||||
public BranchActionGroupPopup(@NotNull String title, @NotNull Project project,
|
||||
@NotNull Condition<AnAction> preselectActionCondition, @NotNull ActionGroup actions) {
|
||||
super(title, actions, SimpleDataContext.getProjectContext(project), false, false, false, false, null, -1,
|
||||
super(title, actions, SimpleDataContext.getProjectContext(project), false, false, true, false, null, -1,
|
||||
preselectActionCondition, null);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user