aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/citra_qt/debugger/callstack.h
diff options
context:
space:
mode:
authorGravatar archshift <admin@archshift.com>2015-01-10 22:39:00 -0800
committerGravatar archshift <admin@archshift.com>2015-01-11 21:47:28 -0800
commitd670b7e52261c6cb4b53fb7f457f8ab4614ebc30 (patch)
treedb543f0228cc9870c0c4eec3fa54ca61257bd9eb /src/citra_qt/debugger/callstack.h
parenteacc2a501ba75a4f89e172eafddbf590f7851add (diff)
Qt Callstack: Clear the callstack every time it's updated
This fixes the issue that old members of the callstack would stick around, even when the callstack shortened.
Diffstat (limited to 'src/citra_qt/debugger/callstack.h')
-rw-r--r--src/citra_qt/debugger/callstack.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/citra_qt/debugger/callstack.h b/src/citra_qt/debugger/callstack.h
index fb390f5c..1a9b6dc8 100644
--- a/src/citra_qt/debugger/callstack.h
+++ b/src/citra_qt/debugger/callstack.h
@@ -21,4 +21,7 @@ public slots:
private:
Ui::CallStack ui;
QStandardItemModel* callstack_model;
+
+ /// Clears the callstack widget while keeping the column widths the same
+ void Clear();
};