Message ID | 20181109195004.25455-4-ykaradzhov@vmware.com (mailing list archive) |
---|---|
State | Accepted |
Commit | aec58bb2afb69154c45196f1cf9d53b48b34a0a6 |
Headers | show |
Series | New/improved KernelShark plugins | expand |
diff --git a/kernel-shark-qt/src/KsTraceGraph.cpp b/kernel-shark-qt/src/KsTraceGraph.cpp index 21a09d0..29a5950 100644 --- a/kernel-shark-qt/src/KsTraceGraph.cpp +++ b/kernel-shark-qt/src/KsTraceGraph.cpp @@ -215,6 +215,7 @@ void KsTraceGraph::_selfUpdate() _updateGraphLegends(); _updateTimeLegends(); _markerReDraw(); + _glWindow.model()->update(); updateGeom(); }
Updating the model when the Graph widget is doing self-update, guarantees that all previously plotted graphs are wiped out before plotting something new. Signed-off-by: Yordan Karadzhov <ykaradzhov@vmware.com> --- kernel-shark-qt/src/KsTraceGraph.cpp | 1 + 1 file changed, 1 insertion(+)