mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE
This commit is contained in:
+3
-3
@@ -259,9 +259,9 @@ public class IdeStatusBarImpl extends JComponent implements StatusBarEx {
|
||||
myWidgetMap.clear();
|
||||
myChildren.clear();
|
||||
|
||||
myLeftPanel.removeAll();
|
||||
myRightPanel.removeAll();
|
||||
myCenterPanel.removeAll();
|
||||
if (myLeftPanel != null) myLeftPanel.removeAll();
|
||||
if (myRightPanel != null) myRightPanel.removeAll();
|
||||
if (myCenterPanel != null) myCenterPanel.removeAll();
|
||||
}
|
||||
|
||||
private void addWidget(@NotNull final StatusBarWidget widget, @NotNull final Position pos, @NotNull final String anchor) {
|
||||
|
||||
Reference in New Issue
Block a user