Focus on register inspection window, upon the user attempting to open an already opened instance

This commit is contained in:
Nav
2021-09-23 21:18:30 +01:00
parent 402c468248
commit 1f112fb179

View File

@@ -110,7 +110,12 @@ void RegisterWidget::openInspectionWindow() {
this->inspectWindow->setValue(this->currentRegister->value);
}
this->inspectWindow->show();
if (!this->inspectWindow->isVisible()) {
this->inspectWindow->show();
} else {
this->inspectWindow->activateWindow();
}
}
}