vcl/source/window/builder.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
New commits: commit 9d8ea0b8ef6388e763a095e51ce9e8f85f86ad49 Author: Caolán McNamara <caol...@redhat.com> Date: Fri Mar 30 17:08:43 2018 +0100 welded radio buttons are in gtk-style groups i.e. everything in the group is grouped with the leader of the group so group to that one to get tab order right Change-Id: I289d8ce5e5957e3f779c4caa435c1210d0dc7076 Reviewed-on: https://gerrit.libreoffice.org/52158 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> Tested-by: Jenkins <c...@libreoffice.org> diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 8f982e435fe2..bd0e72c22ada 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -314,7 +314,12 @@ VclBuilder::VclBuilder(vcl::Window *pParent, const OUString& sUIDir, const OUStr RadioButton *pOther = get<RadioButton>(elem.m_sValue); SAL_WARN_IF(!pOne || !pOther, "vcl", "missing member of radiobutton group"); if (pOne && pOther) - pOne->group(*pOther); + { + if (m_bLegacy) + pOne->group(*pOther); + else + pOther->group(*pOne); + } } //Set ComboBox models when everything has been imported _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits