diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-07-23 23:12:55 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-07-24 02:04:41 +0200 |
commit | d6551bde0bcd06e4ed6b9aaa47f7891e47511264 (patch) | |
tree | 553d20b57dd1b8ec13f039cacfa88b3a99dc1840 /chart2 | |
parent | baaa55f5f7fc04713eb3ad2c9dd7b437dfab3074 (diff) |
avoid showing the picking frame for too long
Change-Id: I58a04325ba6ae42fffddf89905c997fb9ff9fd35
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/charttypes/GL3DBarChart.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx index ebd77693add2..9ad381d210f1 100644 --- a/chart2/source/view/charttypes/GL3DBarChart.cxx +++ b/chart2/source/view/charttypes/GL3DBarChart.cxx @@ -556,6 +556,8 @@ void GL3DBarChart::clickedAt(const Point& rPos, sal_uInt16 nButtons) mpRenderThread->join(); nId = mpRenderer->GetPixelColorFromPoint(rPos.X(), rPos.Y()); } + // we need this update here to render one frame without picking mode being set + update(); std::map<sal_uInt32, const BarInformation>::const_iterator itr = maBarMap.find(nId); |