summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-09-24 16:16:54 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-09-24 16:19:27 -0400
commitb067ead2ee8f162374c81b35190b0201a306ae04 (patch)
treef3530474a6c04050567ff0650fd32947c4651bbc
parentf8ac4e2c436505304df7020a86dfc202851a9cab (diff)
Don't update chart view when the controllers are locked.
Change-Id: I8468925e63db3a5cc5ef3e0f942d22478fd0863e
-rw-r--r--chart2/source/view/main/ChartView.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index 9d75323de847..6266b8755302 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -2581,6 +2581,9 @@ void ChartView::impl_updateView()
return;
}
+ if (mrChartModel.hasControllersLocked())
+ return;
+
if( m_bViewDirty && !m_bInViewUpdate )
{
m_bInViewUpdate = true;