summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-12-02 09:45:19 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-12-02 20:39:24 +0100
commit4fafce64e87f6175a54dd5dc8aa49234e5a5f092 (patch)
tree8dcc50e6989d81fa097c8493a9ad723161c5db9f /svx/source
parent1a5850e7c4414a06e1ad5603bf1d4565d3ba3a82 (diff)
call parent MouseButtonDown if bCallParent is true
Change-Id: I93936d73caf4927714acdc238a10d68087cc7f25 Reviewed-on: https://gerrit.libreoffice.org/84198 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/dialog/dlgctl3d.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/svx/source/dialog/dlgctl3d.cxx b/svx/source/dialog/dlgctl3d.cxx
index 879eb2971873..8d73639261a5 100644
--- a/svx/source/dialog/dlgctl3d.cxx
+++ b/svx/source/dialog/dlgctl3d.cxx
@@ -1442,7 +1442,9 @@ bool LightControl3D::MouseButtonDown( const MouseEvent& rMEvt )
}
// call parent
- return !bCallParent;
+ if (bCallParent)
+ return PreviewControl3D::MouseButtonDown(rMEvt);
+ return true;
}
bool LightControl3D::MouseMove(const MouseEvent& rMEvt)