summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-10-31 11:53:00 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-11-01 09:01:15 +0100
commit8eba06afac375db28022d320d19943d8a129c436 (patch)
treeeece37e81f05fecf45f9e940c6970fc2be93a345 /sdext
parenta71edbd296c640fb62b99d057ee0142e2a84a8a9 (diff)
tdf#127921 Don't change slides when clicking in Slide sorter view
Change-Id: I21dfe232234d29dd110771a9edf9d4b9b0f6d53b Reviewed-on: https://gerrit.libreoffice.org/81833 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/presenter/PresenterWindowManager.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sdext/source/presenter/PresenterWindowManager.cxx b/sdext/source/presenter/PresenterWindowManager.cxx
index f9d22ca0a548..5f04037c04a5 100644
--- a/sdext/source/presenter/PresenterWindowManager.cxx
+++ b/sdext/source/presenter/PresenterWindowManager.cxx
@@ -273,7 +273,8 @@ void SAL_CALL PresenterWindowManager::windowPaint (const awt::PaintEvent& rEvent
void SAL_CALL PresenterWindowManager::mousePressed (const css::awt::MouseEvent&)
{
- mbIsMouseClickPending = true;
+ if (!mbIsSlideSorterActive) // tdf#127921
+ mbIsMouseClickPending = true;
}
void SAL_CALL PresenterWindowManager::mouseReleased (const css::awt::MouseEvent& rEvent)