Skip to content

Commit 1572190

Browse files
author
tom-englert
committed
Refresh should also refresh the content of the active tab to reflect e.g. indent size change in options tab.
1 parent c1a42cc commit 1572190

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)