forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user