From 943454554d2a7fb712e7131d5aecde6e0250764b Mon Sep 17 00:00:00 2001 From: adelikat Date: Tue, 26 Nov 2019 17:34:50 -0600 Subject: [PATCH] Tastudio - don't update bookmark view on UpdateValues() --- .../tools/TAStudio/TAStudio.IToolForm.cs | 2 +- BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.IToolForm.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.IToolForm.cs index da12fe926c..334059912a 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.IToolForm.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.IToolForm.cs @@ -58,7 +58,7 @@ namespace BizHawk.Client.EmuHawk refreshNeeded = true; } - RefreshDialog(refreshNeeded); + RefreshDialog(refreshNeeded, refreshBranches: false); } public void FastUpdate() diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs index 376d7a215f..9c24085c5a 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/TAStudio.cs @@ -797,7 +797,7 @@ namespace BizHawk.Client.EmuHawk return TasView.SelectedRows; } - public void RefreshDialog(bool refreshTasView = true) + public void RefreshDialog(bool refreshTasView = true, bool refreshBranches = true) { if (_exiting) { @@ -811,7 +811,10 @@ namespace BizHawk.Client.EmuHawk MarkerControl?.UpdateValues(); - BookMarkControl?.UpdateValues(); + if (refreshBranches) + { + BookMarkControl?.UpdateValues(); + } if (_undoForm != null && !_undoForm.IsDisposed) {