mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
breakpoints-ui. IDEA-90010 Edit breakpoint popup: after a condition for bp1 has been entered, opening and closing the popup for bp2 results in setting the condition for bp2
This commit is contained in:
+3
-1
@@ -142,7 +142,9 @@ public class XLightBreakpointPropertiesPanel<B extends XBreakpoint<?>> implement
|
||||
final String text = myConditionComboBox.getText();
|
||||
final String condition = StringUtil.isEmptyOrSpaces(text) ? null : text;
|
||||
myBreakpoint.setCondition(condition);
|
||||
myConditionComboBox.saveTextInHistory();
|
||||
if (condition != null) {
|
||||
myConditionComboBox.saveTextInHistory();
|
||||
}
|
||||
}
|
||||
|
||||
for (XBreakpointCustomPropertiesPanel<B> customPanel : myCustomPanels) {
|
||||
|
||||
Reference in New Issue
Block a user