Skip to content

Commit 96e8654

Browse files
committed
ignore Twig path build for buildSearchableOptions
1 parent 93acb13 commit 96e8654

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/fr/adrienbrault/idea/symfony2plugin/ui/TwigSettingsForm.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.intellij.openapi.options.ConfigurationException;
55
import com.intellij.openapi.project.DumbService;
66
import com.intellij.openapi.project.Project;
7+
import com.intellij.openapi.project.impl.DefaultProject;
78
import com.intellij.ui.ToolbarDecorator;
89
import com.intellij.ui.table.TableView;
910
import com.intellij.util.ui.ColumnInfo;
@@ -44,6 +45,10 @@ public TwigSettingsForm(@NotNull Project project) {
4445
}
4546

4647
private void attachItems() {
48+
if (this.project instanceof DefaultProject) {
49+
return;
50+
}
51+
4752
if (DumbService.getInstance(project).isDumb()) {
4853
this.tableView.getEmptyText().setText("Not available while indexing. Please re-open this screen when ready.");
4954

0 commit comments

Comments
 (0)