From d1f7b197a45c048392e1b6c05dcf5b4e02b78544 Mon Sep 17 00:00:00 2001 From: marcin Date: Fri, 12 Apr 2024 14:38:20 +0200 Subject: [PATCH] Allow start/stop plugin server even if vaadin project is not detected --- .../kotlin/com/vaadin/plugin/copilot/CopilotStatusBarPanel.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/kotlin/com/vaadin/plugin/copilot/CopilotStatusBarPanel.kt b/src/main/kotlin/com/vaadin/plugin/copilot/CopilotStatusBarPanel.kt index f20f219..d0a23d8 100644 --- a/src/main/kotlin/com/vaadin/plugin/copilot/CopilotStatusBarPanel.kt +++ b/src/main/kotlin/com/vaadin/plugin/copilot/CopilotStatusBarPanel.kt @@ -33,10 +33,6 @@ class CopilotStatusBarPanel(project: Project) : EditorBasedStatusBarPopup(projec } override fun getWidgetState(file: VirtualFile?): WidgetState { - if (!CopilotPluginUtil.isVaadinProject(project)) { - return WidgetState.HIDDEN - } - val state = WidgetState("Vaadin", null, true) state.icon = IconManager.getInstance().getIcon("/icons/vaadin.svg", javaClass) return state