Skip to content

Commit

Permalink
BUGFIX: Fix NeosProjectService.isEnabled
Browse files Browse the repository at this point in the history
  • Loading branch information
cvette committed Nov 22, 2021
1 parent c6fb4f8 commit ab19fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/vette/idea/neos/NeosProjectService.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public boolean isEnabled() {
}

public static boolean isEnabled(@Nullable Project project) {
return false;
return project != null && Settings.getInstance(project) != null && Settings.getInstance(project).pluginEnabled;
}

public static boolean isEnabled(@Nullable PsiElement element) {
Expand Down

0 comments on commit ab19fda

Please sign in to comment.