Disabled refresh button in memory inspection pane, when programming mode is enabled
This commit is contained in:
@@ -451,9 +451,12 @@ namespace Bloom::Widgets
|
|||||||
|
|
||||||
void TargetMemoryInspectionPane::onProgrammingModeEnabled() {
|
void TargetMemoryInspectionPane::onProgrammingModeEnabled() {
|
||||||
this->hexViewerWidget->setDisabled(true);
|
this->hexViewerWidget->setDisabled(true);
|
||||||
|
this->refreshButton->setDisabled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void TargetMemoryInspectionPane::onProgrammingModeDisabled() {
|
void TargetMemoryInspectionPane::onProgrammingModeDisabled() {
|
||||||
this->hexViewerWidget->setDisabled(this->targetState != Targets::TargetState::STOPPED);
|
const auto disabled = this->targetState != Targets::TargetState::STOPPED;
|
||||||
|
this->hexViewerWidget->setDisabled(disabled);
|
||||||
|
this->refreshButton->setDisabled(disabled);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user