From 482c53d11aeb50116b368cbc4c374b048519cd3f Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Fri, 18 Oct 2019 13:08:21 +0200 Subject: Debugger: Fix display of stack When switching between interrupted and continue while debugging the stack was not updated when the engine states it is running again, but immediately did so when clicking into the stack view. Fix by explicitly updating the stack when the engine reports it is running. Change-Id: Ie8cb445e87fe6e45f9ae86b8ee2eec386be78a5c Reviewed-by: hjk --- src/plugins/debugger/stackhandler.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/plugins/debugger/stackhandler.cpp') diff --git a/src/plugins/debugger/stackhandler.cpp b/src/plugins/debugger/stackhandler.cpp index aeafc69fbf..65c6f09264 100644 --- a/src/plugins/debugger/stackhandler.cpp +++ b/src/plugins/debugger/stackhandler.cpp @@ -314,6 +314,11 @@ void StackHandler::scheduleResetLocation() m_contentsValid = false; } +void StackHandler::resetLocation() +{ + emit layoutChanged(); +} + int StackHandler::stackRowCount() const { // Only one "thread" for now. -- cgit v1.2.1