mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix one exception from IDEA-116497
(cherry picked from commit 1c6e2fa2aa81ba3c01c8660715e987f7b599fce1)
This commit is contained in:
@@ -1027,6 +1027,10 @@ public class Switcher extends AnAction implements DumbAware {
|
||||
public void propertyChange(PropertyChangeEvent evt) {
|
||||
final MyList list = getSelectedList();
|
||||
final Object value = list.getSelectedValue();
|
||||
if (project.isDisposed()) {
|
||||
myPopup.cancel();
|
||||
return;
|
||||
}
|
||||
((NameFilteringListModel)files.getModel()).refilter();
|
||||
((NameFilteringListModel)toolWindows.getModel()).refilter();
|
||||
if (files.getModel().getSize() + toolWindows.getModel().getSize() == 0) {
|
||||
|
||||
Reference in New Issue
Block a user