From 7a74a5ec932c23e2b28c8e7f8c89c8bf51fe0689 Mon Sep 17 00:00:00 2001 From: Nav Date: Mon, 27 Feb 2023 01:38:49 +0000 Subject: [PATCH] Stop needlessly refreshing target registers --- src/Insight/UserInterfaces/InsightWindow/InsightWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Insight/UserInterfaces/InsightWindow/InsightWindow.cpp b/src/Insight/UserInterfaces/InsightWindow/InsightWindow.cpp index 4b6a7b5e..8dac53b6 100644 --- a/src/Insight/UserInterfaces/InsightWindow/InsightWindow.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/InsightWindow.cpp @@ -887,7 +887,7 @@ namespace Bloom this->refreshPinStates(); } - if (this->targetRegistersSidePane != nullptr) { + if (this->targetRegistersSidePane != nullptr && this->targetRegistersSidePane->state.activated) { this->targetRegistersSidePane->refreshRegisterValues(); }