Skip to content

Commit ac14733

Browse files
committed
check form modify change state also on new Twig namespace checkbox
1 parent 069917a commit ac14733

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ public boolean canCreateElement() {
155155

156156
@Override
157157
public boolean isModified() {
158-
return this.changed;
158+
return this.changed
159+
|| getSettings().twigBundleNamespaceSupport != chkTwigBundleNamespaceSupport.isSelected();
159160
}
160161

161162
@Override

0 commit comments

Comments
 (0)