Browse Source

Refresh should also refresh the content of the active tab to reflect e.g. indent size change in options tab.

pull/3292/head
tom-englert 8 months ago
parent
commit
15721908b4
  1. 4
      ILSpy/AssemblyTree/AssemblyTreeModel.cs

4
ILSpy/AssemblyTree/AssemblyTreeModel.cs

@ -879,6 +879,10 @@ namespace ICSharpCode.ILSpy.AssemblyTree @@ -879,6 +879,10 @@ namespace ICSharpCode.ILSpy.AssemblyTree
var path = GetPathForNode(SelectedItem);
ShowAssemblyList(SettingsService.Instance.AssemblyListManager.LoadList(AssemblyList.ListName));
SelectNode(FindNodeByPath(path, true), inNewTabPage: false);
if (DockWorkspace.Instance.ActiveTabPage?.GetState()?.DecompiledNodes?.Any() == true)
{
DecompileSelectedNodes();
}
}
}

Loading…
Cancel
Save