[Libreoffice-commits] core.git: sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Dec 6 14:10:14 UTC 2018
sw/source/ui/fldui/DropDownFieldDialog.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 67806532c397d7fc7ea93224a020f1f734c04077
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Dec 6 11:00:47 2018 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Dec 6 15:09:50 2018 +0100
Resolves: tdf#114144 let double click advance to next if 'next' exists
Change-Id: Id05ad8b72e0ec4f9bad2a9cfb780a44a27618d37
Reviewed-on: https://gerrit.libreoffice.org/64700
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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);
}
More information about the Libreoffice-commits
mailing list