From acdbc1408fb93be1b4a4001c1f99a38e0d73ca6a Mon Sep 17 00:00:00 2001 From: Benjamin Popp Date: Tue, 5 May 2020 15:29:27 -0500 Subject: [PATCH] Update table tool on tab switch --- src/HexManiac.Core/ViewModels/ViewPort.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/HexManiac.Core/ViewModels/ViewPort.cs b/src/HexManiac.Core/ViewModels/ViewPort.cs index e4a80cb5..5fb9495f 100644 --- a/src/HexManiac.Core/ViewModels/ViewPort.cs +++ b/src/HexManiac.Core/ViewModels/ViewPort.cs @@ -721,6 +721,9 @@ namespace HavenSoft.HexManiac.Core.ViewModels { public void Refresh() { scroll.DataLength = Model.Count; RefreshBackingData(); + using (ModelCacheScope.CreateScope(Model)) { + Tools.TableTool.DataForCurrentRunChanged(); + } } public void RaiseError(string text) => OnError?.Invoke(this, text);