diff options
Diffstat (limited to 'sw/source/ui/fldui/DropDownFieldDialog.cxx')
-rw-r--r-- | sw/source/ui/fldui/DropDownFieldDialog.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/ui/fldui/DropDownFieldDialog.cxx b/sw/source/ui/fldui/DropDownFieldDialog.cxx index e5a549bbc69a..b9cb3b89f82a 100644 --- a/sw/source/ui/fldui/DropDownFieldDialog.cxx +++ b/sw/source/ui/fldui/DropDownFieldDialog.cxx @@ -42,7 +42,7 @@ sw::DropDownFieldDialog::DropDownFieldDialog(weld::Widget *pParent, SwWrtShell & { m_xListItemsLB->set_size_request(m_xListItemsLB->get_approximate_digit_width() * 24, m_xListItemsLB->get_height_rows(12)); - Link<weld::TreeView&, void> aDoubleLk = LINK(this, DropDownFieldDialog, DoubleClickHdl); + Link<weld::TreeView&, bool> aDoubleLk = LINK(this, DropDownFieldDialog, DoubleClickHdl); m_xListItemsLB->connect_row_activated( aDoubleLk ); Link<weld::Button&, void> aEditButtonLk = LINK(this, DropDownFieldDialog, EditHdl); @@ -131,12 +131,13 @@ IMPL_LINK_NOARG(sw::DropDownFieldDialog, NextHdl, weld::Button&, void) m_xDialog->response(RET_OK); } -IMPL_LINK_NOARG(sw::DropDownFieldDialog, DoubleClickHdl, weld::TreeView&, void) +IMPL_LINK_NOARG(sw::DropDownFieldDialog, DoubleClickHdl, weld::TreeView&, bool) { // tdf#114144, when next is available make double-click accept and go to next field if (m_xNextPB->get_visible() && m_xNextPB->get_sensitive()) m_pPressedButton = m_xNextPB.get(); m_xDialog->response(RET_OK); + return true; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |