Skip to content

Commit

Permalink
Refresh should also refresh the content of the active tab to reflect …
Browse files Browse the repository at this point in the history
…e.g. indent size change in options tab.
  • Loading branch information
tom-englert committed Sep 27, 2024
1 parent c1a42cc commit 1572190
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ILSpy/AssemblyTree/AssemblyTreeModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,10 @@ public void Refresh()
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();
}
}
}

Expand Down

0 comments on commit 1572190

Please sign in to comment.