summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-10-31 11:53:00 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2019-11-01 10:41:47 +0100
commit18ff6840185758145c1620c700125022c34ad107 (patch)
tree47cc0e918cced8e6ac8c9951646d722e43186026 /sdext
parent76c0741d1377274e5347c586ada4061ee157527b (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> (cherry picked from commit 8eba06afac375db28022d320d19943d8a129c436) Reviewed-on: https://gerrit.libreoffice.org/81871 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@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 a4ea38e65516..6ec1ab4ac501 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)