mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-67206 When I Alt+Click near breakpoint marker, it becomes removed
This commit is contained in:
@@ -297,7 +297,7 @@ public class BreakpointManager implements JDOMExternalizable {
|
||||
if (event.getButton() != 1) {
|
||||
return;
|
||||
}
|
||||
if (e.getMouseEvent().isControlDown() || e.getMouseEvent().isMetaDown()) {
|
||||
if (e.getMouseEvent().isControlDown() || e.getMouseEvent().isMetaDown() || e.getMouseEvent().isAltDown()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@ public class QuickEvaluateAction extends XDebuggerActionBase {
|
||||
}
|
||||
|
||||
public boolean isEnabled(@NotNull final Project project, final AnActionEvent event) {
|
||||
return myHandler.isEnabled(project);
|
||||
return myHandler.isEnabled(project) && (event == null || event.getInputEvent()== null || !event.getInputEvent().isAltDown());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user