IDEA-121392 Breakpoint popup: click aside popup loses Suspend = Yes value

This commit is contained in:
Egor.Ushakov
2014-02-28 15:38:19 +04:00
parent 780a50be21
commit e7fd0b6bbd
@@ -141,6 +141,7 @@ public class DebuggerUIUtil {
final Ref<Balloon> balloonRef = Ref.create(null);
final Ref<Boolean> isLoading = Ref.create(Boolean.FALSE);
final Ref<Boolean> moreOptionsRequested = Ref.create(Boolean.FALSE);
propertiesPanel.setDelegate(new XLightBreakpointPropertiesPanel.Delegate() {
@Override
@@ -152,6 +153,7 @@ public class DebuggerUIUtil {
balloonRef.get().hide();
}
showXBreakpointEditorBalloon(project, point, component, true, breakpoint);
moreOptionsRequested.set(true);
}
});
@@ -159,6 +161,10 @@ public class DebuggerUIUtil {
propertiesPanel.loadProperties();
isLoading.set(Boolean.FALSE);
if (moreOptionsRequested.get()) {
return;
}
Runnable showMoreOptions = new Runnable() {
@Override
public void run() {