From e7fd0b6bbd1d15d3d9dbc495544f901e3db9b36a Mon Sep 17 00:00:00 2001 From: "Egor.Ushakov" Date: Fri, 28 Feb 2014 15:37:42 +0400 Subject: [PATCH] IDEA-121392 Breakpoint popup: click aside popup loses Suspend = Yes value --- .../src/com/intellij/xdebugger/impl/ui/DebuggerUIUtil.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/DebuggerUIUtil.java b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/DebuggerUIUtil.java index abce43b858ec..dbc7b35ebcb4 100644 --- a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/DebuggerUIUtil.java +++ b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/DebuggerUIUtil.java @@ -141,6 +141,7 @@ public class DebuggerUIUtil { final Ref balloonRef = Ref.create(null); final Ref isLoading = Ref.create(Boolean.FALSE); + final Ref 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() {