mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE fix
This commit is contained in:
@@ -458,7 +458,10 @@ public final class ToolWindowManagerImpl extends ToolWindowManagerEx implements
|
||||
if (isToolWindowVisible(id)) {
|
||||
hideToolWindow(id, true);
|
||||
}
|
||||
getStripeButton(id).setEnabled(false);
|
||||
StripeButton button = getStripeButton(id);
|
||||
if (button != null) {
|
||||
button.setEnabled(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user