vcl/source/app/salvtables.cxx | 7 +++++++ 1 file changed, 7 insertions(+)
New commits: commit 17eb1d0f86a3f5aa6fdf154c244c20c73f3f64ad Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Dec 9 13:32:38 2019 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Dec 9 21:50:37 2019 +0100 use HasChildPathFocus for SpinButton like ComboBox Change-Id: Ifb95d6f9df8ea1b3f0e678b60e83c9a99d538225 Reviewed-on: https://gerrit.libreoffice.org/84772 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx index 5b0686a9f77e..8237dbae57e3 100644 --- a/vcl/source/app/salvtables.cxx +++ b/vcl/source/app/salvtables.cxx @@ -5159,6 +5159,13 @@ public: m_xButton->SetDecimalDigits(digits); } + // SpinButton may be comprised of multiple subwidgets, consider the lot as + // one thing for focus + virtual bool has_focus() const override + { + return m_xWidget->HasChildPathFocus(); + } + //so with hh::mm::ss, incrementing mm will not reset ss void DisableRemainderFactor() { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits