mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-74063 update layout preview tool window after all file-closing operations completed
This commit is contained in:
+6
-1
@@ -421,7 +421,12 @@ public class AndroidLayoutPreviewToolWindowManager implements ProjectComponent {
|
||||
}
|
||||
|
||||
public void fileClosed(FileEditorManager source, VirtualFile file) {
|
||||
processFileEditorChange(getActiveLayoutXmlEditor());
|
||||
ApplicationManager.getApplication().invokeLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
processFileEditorChange(getActiveLayoutXmlEditor());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void selectionChanged(FileEditorManagerEvent event) {
|
||||
|
||||
Reference in New Issue
Block a user