cui/source/tabpages/tparea.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 1170001897078dd0bdafb2c00da8657e3660267c Author: Shubham Goyal <[email protected]> AuthorDate: Sun Jun 16 19:32:31 2019 +0530 Commit: Xisco Faulí <[email protected]> CommitDate: Tue Jun 18 11:14:33 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 <[email protected]> (cherry picked from commit 770bf5a1f42be2d7397b30b91467a7dca4dc1785) Reviewed-on: https://gerrit.libreoffice.org/74248 Reviewed-by: Xisco Faulí <[email protected]> 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 [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
