From 4ce850e1d7690623adedf3e571ac39d89a72696a Mon Sep 17 00:00:00 2001 From: Nav Date: Sun, 10 Oct 2021 14:18:26 +0100 Subject: [PATCH] Button naming consistency --- .../Widgets/TargetRegistersPane/TargetRegistersPaneWidget.cpp | 4 ++-- .../TargetRegistersPane/UiFiles/TargetRegistersSidePane.ui | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegistersPane/TargetRegistersPaneWidget.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegistersPane/TargetRegistersPaneWidget.cpp index f9d4bafb..5cd6fffe 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegistersPane/TargetRegistersPaneWidget.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegistersPane/TargetRegistersPaneWidget.cpp @@ -46,8 +46,8 @@ TargetRegistersPaneWidget::TargetRegistersPaneWidget( layout->addWidget(this->container); this->toolBar = this->container->findChild("tool-bar"); - this->collapseAllButton = this->toolBar->findChild("collapse-all-button"); - this->expandAllButton = this->toolBar->findChild("expand-all-button"); + this->collapseAllButton = this->toolBar->findChild("collapse-all-btn"); + this->expandAllButton = this->toolBar->findChild("expand-all-btn"); this->toolBar->layout()->setContentsMargins(5, 0, 5, 0); this->searchInput = this->container->findChild("search-input"); diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegistersPane/UiFiles/TargetRegistersSidePane.ui b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegistersPane/UiFiles/TargetRegistersSidePane.ui index a90781bb..f207d02f 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegistersPane/UiFiles/TargetRegistersSidePane.ui +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegistersPane/UiFiles/TargetRegistersSidePane.ui @@ -39,7 +39,7 @@ - + :/compiled/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegistersPane/Images/expand-all.svg @@ -49,7 +49,7 @@ - + :/compiled/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegistersPane/Images/collapse-all.svg