Corrected premature enabling of the hex viewer in the memory inspection pane
This commit is contained in:
@@ -645,7 +645,7 @@ namespace Bloom::Widgets
|
||||
}
|
||||
|
||||
void TargetMemoryInspectionPane::onProgrammingModeDisabled() {
|
||||
const auto disabled = this->targetState != Targets::TargetState::STOPPED;
|
||||
const auto disabled = this->targetState != Targets::TargetState::STOPPED || !this->data.has_value();
|
||||
this->hexViewerWidget->setDisabled(disabled);
|
||||
this->refreshButton->setDisabled(disabled);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user