mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-87924 Debugger: Ease defining breakpoint condition. Condition checkbox enables when condition is empty
This commit is contained in:
+1
-1
@@ -570,7 +570,7 @@ public abstract class BreakpointPropertiesPanel {
|
||||
PsiElement context = breakpoint.getEvaluationElement();
|
||||
myPassCountCheckbox.setSelected(breakpoint.COUNT_FILTER_ENABLED);
|
||||
|
||||
myConditionCheckbox.setSelected(breakpoint.CONDITION_ENABLED);
|
||||
myConditionCheckbox.setSelected(breakpoint.CONDITION_ENABLED || breakpoint.getCondition() == null || breakpoint.getCondition().isEmpty());
|
||||
|
||||
myConditionCombo.setEnabled(myBreakpoint.CONDITION_ENABLED);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user