Commit 8a215770 authored by Denis Fokin's avatar Denis Fokin
Browse files

Active window NPE check

parent b3756154
Branches unavailable Tags unavailable
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -27,7 +27,7 @@ public class DumpFocusableComponentHierarchyAction extends AnAction implements D
CopyOnWriteArrayList<String> dump = new CopyOnWriteArrayList<>();
dump.add("Active Window: " + activeWindow.getClass().getName());
dump.add("Active Window: " + (activeWindow == null ? "null" : activeWindow.getClass().getName()));
dump.add("Focused Window: " + (focusedWindow == null ? "null" : focusedWindow.getClass().getName()));
dump.add("Focused Component: " + (focusedComponent == null ? "null" : focusedComponent.getClass().getName()));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment