[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - sd/source
Caolán McNamara
caolanm at redhat.com
Tue Mar 28 21:03:43 UTC 2017
sd/source/ui/dlg/navigatr.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 9fd212c3fbc28868e15f5d8e8ae598ac34176991
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Mar 20 11:50:57 2017 +0000
Resolves: tdf#106612 fix double click in draw/impress navigator
Change-Id: Ic4b08c6e5cd430b5278bdc2cb7f1205bba160740
(cherry picked from commit 879aa0f71d98969f6bf2e540f1e95c7c9e0e05bf)
Reviewed-on: https://gerrit.libreoffice.org/35539
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Michael Stahl <mstahl at redhat.com>
diff --git a/sd/source/ui/dlg/navigatr.cxx b/sd/source/ui/dlg/navigatr.cxx
index 084fdaf2fc03..d689036e3072 100644
--- a/sd/source/ui/dlg/navigatr.cxx
+++ b/sd/source/ui/dlg/navigatr.cxx
@@ -82,6 +82,9 @@ SdNavigatorWin::SdNavigatorWin(vcl::Window* pParent, SfxBindings* pInBindings)
maTlbObjects->SetAccessibleName(SD_RESSTR(STR_OBJECTS_TREE));
+ maTlbObjects->SetDoubleClickHdl(LINK(this, SdNavigatorWin, ClickObjectHdl));
+ maTlbObjects->SetSelectionMode(SelectionMode::Single);
+
maToolbox->SetSelectHdl( LINK( this, SdNavigatorWin, SelectToolboxHdl ) );
maToolbox->SetDropdownClickHdl( LINK(this, SdNavigatorWin, DropdownClickToolBoxHdl) );
const sal_uInt16 nDragTypeId = maToolbox->GetItemId("dragmode");
More information about the Libreoffice-commits
mailing list