Debugger: Show central widget by default when resetting view layout

Fixes: QTCREATORBUG-25314
Change-Id: Id827c71159b4d23de2ab5adf14521c758f8489ef
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2021-02-09 11:21:38 +01:00
parent 7521334261
commit ade5b44297

View File

@@ -573,8 +573,9 @@ void DebuggerMainWindowPrivate::resetCurrentPerspective()
{
QTC_ASSERT(m_currentPerspective, return);
cleanDocks();
m_currentPerspective->d->resetPerspective();
setCentralWidget(m_currentPerspective->d->m_centralWidget);
q->showCentralWidget(true);
m_currentPerspective->d->resetPerspective();
}
void DebuggerMainWindowPrivate::setCentralWidget(QWidget *widget)