Fixed bug with RAM & EEPROM panes both appearing on initial activation

This commit is contained in:
Nav
2021-11-06 00:18:54 +00:00
parent b01d1ea1ed
commit 90dd76455d

View File

@@ -528,6 +528,7 @@ void InsightWindow::activate() {
this->bottomPanel this->bottomPanel
); );
bottomPanelLayout->addWidget(this->ramInspectionPane); bottomPanelLayout->addWidget(this->ramInspectionPane);
this->ramInspectionPane->deactivate();
this->ramInspectionButton->setChecked(false); this->ramInspectionButton->setChecked(false);
this->ramInspectionButton->setDisabled(false); this->ramInspectionButton->setDisabled(false);
} }
@@ -540,6 +541,7 @@ void InsightWindow::activate() {
this->bottomPanel this->bottomPanel
); );
bottomPanelLayout->addWidget(this->eepromInspectionPane); bottomPanelLayout->addWidget(this->eepromInspectionPane);
this->eepromInspectionPane->deactivate();
this->ramInspectionButton->setChecked(false); this->ramInspectionButton->setChecked(false);
this->ramInspectionButton->setDisabled(false); this->ramInspectionButton->setDisabled(false);
} }