mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
light edit: use context project
This reduces calls to LightEditUtil.getProject that might create a new project in future. GitOrigin-RevId: b778187bc3cc5223102d6ebbf1b428989d4246af
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e501da8ceb
commit
d68420a2d8
@@ -56,7 +56,7 @@ class LightEditFrameWrapper extends ProjectFrameHelper implements Disposable, Li
|
||||
StatusBar.Anchors.after(StatusBar.StandardWidgets.POSITION_PANEL));
|
||||
for (StatusBarWidgetProvider provider : StatusBarWidgetProvider.EP_NAME.getExtensionList()) {
|
||||
if (provider.isCompatibleWith(this)) {
|
||||
final StatusBarWidget widget = provider.getWidget(LightEditUtil.getProject());
|
||||
final StatusBarWidget widget = provider.getWidget(project);
|
||||
if (widget != null) {
|
||||
addWidget(this, statusBar, widget, provider.getAnchor());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user