sw/source/ui/fldui/DropDownFieldDialog.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit b4b213dc088fddbf4c2e34350828354e9262e4fa Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Dec 6 11:00:47 2018 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Dec 6 14:22:03 2018 +0100 Resolves: tdf#114144 let double click advance to next if 'next' exists Change-Id: Id05ad8b72e0ec4f9bad2a9cfb780a44a27618d37 Reviewed-on: https://gerrit.libreoffice.org/64701 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/ui/fldui/DropDownFieldDialog.cxx b/sw/source/ui/fldui/DropDownFieldDialog.cxx index 7bec262b6338..5ccead9f8504 100644 --- a/sw/source/ui/fldui/DropDownFieldDialog.cxx +++ b/sw/source/ui/fldui/DropDownFieldDialog.cxx @@ -134,6 +134,9 @@ IMPL_LINK_NOARG(sw::DropDownFieldDialog, NextHdl, weld::Button&, void) IMPL_LINK_NOARG(sw::DropDownFieldDialog, DoubleClickHdl, weld::TreeView&, void) { + // 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); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits