From 65a447140742453d88e4e7883420c280408646ee Mon Sep 17 00:00:00 2001 From: "Egor.Ushakov" Date: Thu, 11 Aug 2016 11:27:14 +0300 Subject: [PATCH] use correct toolbar component --- .../src/com/intellij/xdebugger/impl/frame/XWatchesViewImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/frame/XWatchesViewImpl.java b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/frame/XWatchesViewImpl.java index a8199c5beff4..a71bf5422c22 100644 --- a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/frame/XWatchesViewImpl.java +++ b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/frame/XWatchesViewImpl.java @@ -111,6 +111,7 @@ public class XWatchesViewImpl extends XVariablesView implements DnDNativeTarget, toolbar.setBorder(new CustomLineBorder(CaptionPanel.CNT_ACTIVE_BORDER_COLOR, 0, 0, myWatchesInVariables ? 0 : 1, myWatchesInVariables ? 1 : 0)); + toolbar.setTargetComponent(tree); if (!myWatchesInVariables) { getTree().getEmptyText().setText(XDebuggerBundle.message("debugger.no.watches"));