[Libreoffice-commits] core.git: sd/source
Caolán McNamara
caolanm at redhat.com
Mon Mar 20 11:51:57 UTC 2017
sd/source/ui/dlg/navigatr.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 879aa0f71d98969f6bf2e540f1e95c7c9e0e05bf
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
diff --git a/sd/source/ui/dlg/navigatr.cxx b/sd/source/ui/dlg/navigatr.cxx
index 9d67660ba6e9..5f83abb30c31 100644
--- a/sd/source/ui/dlg/navigatr.cxx
+++ b/sd/source/ui/dlg/navigatr.cxx
@@ -81,6 +81,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