Commit f850cf20 authored by Sergey Malenkov's avatar Sergey Malenkov
Browse files

IDEA-101953 File not showing under project pane / Missing files (blank...

IDEA-101953 File not showing under project pane / Missing files (blank entries) in project view after the "Mark As ..." action
parent a70900c7
Showing with 1 addition and 1 deletion
+1 -1
......@@ -2708,7 +2708,7 @@ public class AbstractTreeUi {
final LoadedChildren loaded = new LoadedChildren(loadedElements);
for (final Object each : loadedElements) {
NodeDescriptor existingDesc = getDescriptorFrom(getNodeForElement(each, true));
final NodeDescriptor eachChildDescriptor = existingDesc != null ? existingDesc : getTreeStructure().createDescriptor(each, updateInfo.getDescriptor());
final NodeDescriptor eachChildDescriptor = isValid(existingDesc) ? existingDesc : getTreeStructure().createDescriptor(each, updateInfo.getDescriptor());
execute(new TreeRunnable("AbstractTreeUi.queueBackgroundUpdate") {
@Override
public void perform() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment