mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-67821
This commit is contained in:
@@ -48,7 +48,7 @@ public class LineEndingsManager extends FileDocumentManagerAdapter {
|
||||
@Override
|
||||
public void run() {
|
||||
IdeFrame frame = WindowManager.getInstance().getIdeFrame(myProject);
|
||||
StatusBar statusBar = frame.getStatusBar();
|
||||
StatusBar statusBar = frame != null ? frame.getStatusBar() : null;
|
||||
StatusBarWidget widget = statusBar != null ? statusBar.getWidget("LineSeparator") : null;
|
||||
|
||||
if (widget instanceof LineSeparatorPanel) {
|
||||
|
||||
Reference in New Issue
Block a user