mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-126521 Debugger: "Add To Watches" action is always disabled in the Variables view
This commit is contained in:
+2
-2
@@ -55,9 +55,9 @@ class XAddToWatchesAction extends XDebuggerTreeActionBase {
|
||||
if (view == null && project != null) {
|
||||
XDebugSession session = XDebuggerManager.getInstance(project).getCurrentSession();
|
||||
if (session != null) {
|
||||
return ((XDebugSessionImpl)session).getSessionTab().getWatchesView();
|
||||
view = ((XDebugSessionImpl)session).getSessionTab().getWatchesView();
|
||||
}
|
||||
}
|
||||
return null;
|
||||
return view;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user