diff --git a/src/plugins/debugger/debuggerengine.cpp b/src/plugins/debugger/debuggerengine.cpp index 8fa02ef988d..a90c569c6dc 100644 --- a/src/plugins/debugger/debuggerengine.cpp +++ b/src/plugins/debugger/debuggerengine.cpp @@ -442,6 +442,7 @@ public: m_lookupRequests.clear(); m_locationTimer.stop(); m_locationMark.reset(); + m_stackHandler.resetLocation(); m_disassemblerAgent.resetLocation(); m_toolTipManager.resetLocation(); } diff --git a/src/plugins/debugger/stackhandler.cpp b/src/plugins/debugger/stackhandler.cpp index aeafc69fbf8..65c6f092643 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. diff --git a/src/plugins/debugger/stackhandler.h b/src/plugins/debugger/stackhandler.h index 22be87b16f6..10ce5a4e85e 100644 --- a/src/plugins/debugger/stackhandler.h +++ b/src/plugins/debugger/stackhandler.h @@ -112,6 +112,7 @@ public: bool isContentsValid() const { return m_contentsValid; } bool operatesByInstruction() const; void scheduleResetLocation(); + void resetLocation(); QIcon iconForRow(int row) const;