Focus on register inspection window, upon the user attempting to open an already opened instance
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user