mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-163371 IntelliJ project view stops working: "null keys not supported
(cherry picked from commit b35672d5b7a0275618432c5a8e31a65bd3e17f4d)
This commit is contained in:
@@ -1534,11 +1534,13 @@ public class ProjectViewImpl extends ProjectView implements PersistentStateCompo
|
||||
|
||||
@NotNull
|
||||
private ActionCallback setPaneOption(@NotNull Map<String, Boolean> optionsMap, boolean value, String paneId, final boolean updatePane) {
|
||||
optionsMap.put(paneId, value);
|
||||
if (updatePane) {
|
||||
final AbstractProjectViewPane pane = getProjectViewPaneById(paneId);
|
||||
if (pane != null) {
|
||||
return pane.updateFromRoot(false);
|
||||
if (paneId != null) {
|
||||
optionsMap.put(paneId, value);
|
||||
if (updatePane) {
|
||||
final AbstractProjectViewPane pane = getProjectViewPaneById(paneId);
|
||||
if (pane != null) {
|
||||
return pane.updateFromRoot(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
return ActionCallback.DONE;
|
||||
|
||||
Reference in New Issue
Block a user