forked from qt-creator/qt-creator
debugger: move dockwidget ownership to the mainwindow
This commit is contained in:
@@ -3080,7 +3080,7 @@ void GdbEngine::handleMakeSnapshot(const GdbResponse &response)
|
||||
|
||||
void GdbEngine::reloadRegisters()
|
||||
{
|
||||
if (!debuggerCore()->isRegisterViewVisible())
|
||||
if (!debuggerCore()->isDockVisible(_(Constants::DOCKWIDGET_REGISTER)))
|
||||
return;
|
||||
|
||||
if (state() != InferiorStopOk && state() != InferiorUnrunnable)
|
||||
|
||||
Reference in New Issue
Block a user