mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-121392 Breakpoint popup: click aside popup loses Suspend = Yes value
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user