mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-15136 Sync tree in "Project" toolwindow even if only template directories were changed
This commit is contained in:
+2
-1
@@ -104,8 +104,9 @@ public class PyContentEntriesModuleConfigurable extends SearchableConfigurable.P
|
||||
@Override
|
||||
public void apply() throws ConfigurationException {
|
||||
if (myEditor == null) return;
|
||||
final boolean editorWasModified = myEditor.isModified();
|
||||
myEditor.apply();
|
||||
if (myModifiableModel.isChanged()) {
|
||||
if (editorWasModified) {
|
||||
ApplicationManager.getApplication().runWriteAction(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
||||
Reference in New Issue
Block a user