Skip to content

Commit c524892

Browse files
Merge pull request #3292 from tom-englert/dev/WpfRefactoring
Refresh should also refresh the content of the active tab
2 parents c1a42cc + 1572190 commit c524892

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ILSpy/AssemblyTree/AssemblyTreeModel.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,10 @@ public void Refresh()
879879
var path = GetPathForNode(SelectedItem);
880880
ShowAssemblyList(SettingsService.Instance.AssemblyListManager.LoadList(AssemblyList.ListName));
881881
SelectNode(FindNodeByPath(path, true), inNewTabPage: false);
882+
if (DockWorkspace.Instance.ActiveTabPage?.GetState()?.DecompiledNodes?.Any() == true)
883+
{
884+
DecompileSelectedNodes();
885+
}
882886
}
883887
}
884888

0 commit comments

Comments
 (0)