Skip to content

Commit

Permalink
Merge pull request #3292 from tom-englert/dev/WpfRefactoring
Browse files Browse the repository at this point in the history
Refresh should also refresh the content of the active tab
  • Loading branch information
siegfriedpammer committed Sep 27, 2024
2 parents c1a42cc + 1572190 commit c524892
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 c524892

Please sign in to comment.