Disable register access via the inspection window, when then target is not in a STOPPED state

This commit is contained in:
Nav
2021-09-21 21:18:14 +01:00
parent 073a9e8bb7
commit d66439d1df
3 changed files with 23 additions and 11 deletions

View File

@@ -101,6 +101,7 @@ void RegisterWidget::openInspectionWindow() {
this->inspectWindow = new TargetRegisterInspectorWindow(
this->descriptor,
this->insightWorker,
this->targetState,
this->currentRegister.has_value() ? std::optional(this->currentRegister->value) : std::nullopt
);