diff options
-rw-r--r-- | chart2/source/controller/main/ChartController_Window.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chart2/source/controller/main/ChartController_Window.cxx b/chart2/source/controller/main/ChartController_Window.cxx index 7e006d5f2cc1..5b3cf24ad57a 100644 --- a/chart2/source/controller/main/ChartController_Window.cxx +++ b/chart2/source/controller/main/ChartController_Window.cxx @@ -899,6 +899,10 @@ void ChartController::execute_MouseButtonUp( const MouseEvent& rMEvt ) else m_aSelection.resetPossibleSelectionAfterSingleClickWasEnsured(); } + + //@todo ForcePointer(&rMEvt); + pChartWindow->ReleaseMouse(); + // In tiled rendering drag mode could be not yet over on the call // that should handle the double-click, so better to perform this check // always. @@ -908,9 +912,6 @@ void ChartController::execute_MouseButtonUp( const MouseEvent& rMEvt ) execute_DoubleClick( &aMousePixel ); } - //@todo ForcePointer(&rMEvt); - pChartWindow->ReleaseMouse(); - if( m_aSelection.isSelectionDifferentFromBeforeMouseDown() ) bNotifySelectionChange = true; } |