| commit | 1170001897078dd0bdafb2c00da8657e3660267c | [log] |
|---|---|---|
| author | Shubham Goyal <22shubh22@gmail.com> | Sun Jun 16 19:32:31 2019 +0530 |
| committer | Xisco FaulĂ <xiscofauli@libreoffice.org> | Tue Jun 18 11:14:33 2019 +0200 |
| tree | 4a0bdf82869cbcfa3ed1cfa7aa0ba0b9ea3ec01a | |
| parent | 8f4c61fb0204d3805a30bd0736449b0584ffb489 [diff] |
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@collabora.com> (cherry picked from commit 770bf5a1f42be2d7397b30b91467a7dca4dc1785) Reviewed-on: https://gerrit.libreoffice.org/74248 Reviewed-by: Xisco FaulĂ <xiscofauli@libreoffice.org>
diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx index 0ba9dcd..1ec685d 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; }