aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/stackhandler.cpp
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2019-10-18 13:08:21 +0200
committerChristian Stenger <christian.stenger@qt.io>2019-10-18 11:29:18 +0000
commit482c53d11aeb50116b368cbc4c374b048519cd3f (patch)
tree2583f4db3233df235ab1f82914f3e5acd140bbfe /src/plugins/debugger/stackhandler.cpp
parentb5942847e2ec7f850dea35189197e0ea54c6bc0e (diff)
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 <hjk@qt.io>
Diffstat (limited to 'src/plugins/debugger/stackhandler.cpp')
-rw-r--r--src/plugins/debugger/stackhandler.cpp5
1 files changed, 5 insertions, 0 deletions
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.