From 5168af31448635a96c9c05b19df0b9f2f62d388a Mon Sep 17 00:00:00 2001 From: hjk Date: Tue, 9 Feb 2021 12:25:19 +0100 Subject: [PATCH] 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 --- src/plugins/debugger/debuggermainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/debugger/debuggermainwindow.cpp b/src/plugins/debugger/debuggermainwindow.cpp index fc8672edfd7..509804edf3f 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();