diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-03-20 11:50:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-03-20 11:51:26 +0000 |
commit | 879aa0f71d98969f6bf2e540f1e95c7c9e0e05bf (patch) | |
tree | 412856ca52d0be8bf9d959a25ca8433a0f2e3031 | |
parent | 75b079201b479fbc448f41427106a52b4e06e445 (diff) |
Resolves: tdf#106612 fix double click in draw/impress navigator
Change-Id: Ic4b08c6e5cd430b5278bdc2cb7f1205bba160740
-rw-r--r-- | sd/source/ui/dlg/navigatr.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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"); |