cui/source/tabpages/tparea.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 770bf5a1f42be2d7397b30b91467a7dca4dc1785 Author: Shubham Goyal <22shub...@gmail.com> AuthorDate: Sun Jun 16 19:32:31 2019 +0530 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Mon Jun 17 23:12:26 2019 +0200 tdf#124549 Check Button toggle state before toggle. Change-Id: I362cbc5613010e6586d63d6ebe45b40f05ffcbf1 Reviewed-on: https://gerrit.libreoffice.org/74117 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx index 0ba9dcdeda72..1ec685daaafe 100644 --- a/cui/source/tabpages/tparea.cxx +++ b/cui/source/tabpages/tparea.cxx @@ -378,6 +378,10 @@ VclPtr<SfxTabPage> lcl_CreateFillStyleTabPage(sal_uInt16 nId, TabPageParent pPar IMPL_LINK(SvxAreaTabPage, SelectFillTypeHdl_Impl, weld::ToggleButton&, rButton, void) { + //tdf#124549 - If the button is already active do not toggle it back. + if(!rButton.get_active()) + rButton.set_active(true); + SelectFillType(rButton); m_bBtnClicked = true; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits