prevent that early return prevents further user interaction

Change-Id: I24f814a402d2b8af3ddf888719b78d3158c2a38f
This commit is contained in:
Markus Mohrhard
2014-05-27 16:32:25 +02:00
committed by Markus Mohrhard
parent 8c9b3cdcce
commit ed24ae433b

View File

@@ -293,7 +293,6 @@ void GL3DBarChart::clickedAt(const Point& /*rPos*/, sal_uInt16 nButtons)
if(nButtons != MOUSE_LEFT) if(nButtons != MOUSE_LEFT)
return; return;
mbBlockUserInput = true;
sal_uInt32 nId = 5; sal_uInt32 nId = 5;
/* /*
{ {
@@ -309,6 +308,8 @@ void GL3DBarChart::clickedAt(const Point& /*rPos*/, sal_uInt16 nButtons)
if(itr == maBarMap.end()) if(itr == maBarMap.end())
return; return;
mbBlockUserInput = true;
const BarInformation& rBarInfo = itr->second; const BarInformation& rBarInfo = itr->second;
mnStepsTotal = 100; mnStepsTotal = 100;
mnStep = 0; mnStep = 0;