diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegisterInspector/TargetRegisterInspectorWindow.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegisterInspector/TargetRegisterInspectorWindow.cpp index 1902fba2..236e6a77 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegisterInspector/TargetRegisterInspectorWindow.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegisterInspector/TargetRegisterInspectorWindow.cpp @@ -210,6 +210,10 @@ TargetRegisterInspectorWindow::TargetRegisterInspectorWindow( this->updateRegisterValueInputField(); this->onTargetStateChanged(currentTargetState); + + // Position the inspection window at the center of the main Insight window + this->move(parent->window()->geometry().center() - this->rect().center()); + this->show(); }