diff options
author | hjk <hjk@qt.io> | 2021-02-09 12:25:19 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2021-02-15 13:25:16 +0000 |
commit | 5168af31448635a96c9c05b19df0b9f2f62d388a (patch) | |
tree | 178105ff0857530fdd754882b6b8262339b9c5c4 /src/plugins/debugger | |
parent | ade5b44297f0b2771ee1965966e876ec70db2336 (diff) | |
download | qt-creator-5168af31448635a96c9c05b19df0b9f2f62d388a.tar.gz |
Debugger: Always switch on central widget when entering debug mode
This is not exactly what the linked task complained about, but
solves the issue. Disabling the central editor is rarely useful
(it can be limited to three lines in height) but still temporarily
possible with this patch.
Task-number: QTCREATORBUG-25315
Change-Id: I18182e11d7d3e2167a24a340ab1ae7222009b8c9
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/debugger')
-rw-r--r-- | src/plugins/debugger/debuggermainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggermainwindow.cpp b/src/plugins/debugger/debuggermainwindow.cpp index fc8672edfd..509804edf3 100644 --- a/src/plugins/debugger/debuggermainwindow.cpp +++ b/src/plugins/debugger/debuggermainwindow.cpp @@ -969,6 +969,8 @@ void Perspective::rampUpAsCurrent() theMainWindow->d->setCurrentPerspective(this); QTC_ASSERT(theMainWindow->d->m_currentPerspective == this, return); + theMainWindow->showCentralWidget(true); + d->populatePerspective(); theMainWindow->d->updatePerspectiveChooserWidth(); |