Skip to content

Commit

Permalink
Allow start/stop plugin server even if vaadin project is not detected
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcinVaadin committed Apr 12, 2024
1 parent 095588a commit d1f7b19
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d1f7b19

Please sign in to comment.