[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - cui/source
Shubham Goyal (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jun 18 09:16:46 UTC 2019
cui/source/tabpages/tparea.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 1170001897078dd0bdafb2c00da8657e3660267c
Author: Shubham Goyal <22shubh22 at gmail.com>
AuthorDate: Sun Jun 16 19:32:31 2019 +0530
Commit: Xisco FaulĂ <xiscofauli at libreoffice.org>
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 <mike.kaganski at collabora.com>
(cherry picked from commit 770bf5a1f42be2d7397b30b91467a7dca4dc1785)
Reviewed-on: https://gerrit.libreoffice.org/74248
Reviewed-by: Xisco FaulĂ <xiscofauli at libreoffice.org>
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;
}
More information about the Libreoffice-commits
mailing list