diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2017-11-02 14:15:55 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2017-11-02 07:35:02 +0100 |
commit | 270596b0e98ee32f1d4224751a8be51a4af9ac91 (patch) | |
tree | 20c8399fba26850736f83b69a272fb16da375cb6 /svx | |
parent | dc57c8ce3070b2a99ca312fbc349e6331b703ef7 (diff) |
TSCP: change double-click to single for IP part list box
Change-Id: I1ec96ddbb4bba76b82d32a09fd2f47e46c64fc16
Reviewed-on: https://gerrit.libreoffice.org/44185
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/ClassificationDialog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/ClassificationDialog.cxx b/svx/source/dialog/ClassificationDialog.cxx index df271dd1c5f2..22fce44f1560 100644 --- a/svx/source/dialog/ClassificationDialog.cxx +++ b/svx/source/dialog/ClassificationDialog.cxx @@ -172,7 +172,7 @@ ClassificationDialog::ClassificationDialog(vcl::Window* pParent, const bool bPer m_pIntellectualPropertyPartNumberListBox->InsertEntry(rName); m_pIntellectualPropertyPartNumberListBox->EnableAutoSize(true); - m_pIntellectualPropertyPartListBox->SetDoubleClickHdl(LINK(this, ClassificationDialog, DoubleClickIPPartHdl)); + m_pIntellectualPropertyPartListBox->SetSelectHdl(LINK(this, ClassificationDialog, SelectIPPartHdl)); for (const OUString& rName : maHelper.GetIntellectualPropertyParts()) m_pIntellectualPropertyPartListBox->InsertEntry(rName); m_pIntellectualPropertyPartListBox->EnableAutoSize(true); @@ -551,7 +551,7 @@ IMPL_LINK(ClassificationDialog, SelectRecentlyUsedHdl, ListBox&, rBox, void) } } -IMPL_LINK(ClassificationDialog, DoubleClickIPPartHdl, ListBox&, rBox, void) +IMPL_LINK(ClassificationDialog, SelectIPPartHdl, ListBox&, rBox, void) { const sal_Int32 nSelected = rBox.GetSelectedEntryPos(); if (nSelected >= 0) |