[Libreoffice-commits] core.git: cui/source

Akshay Deep akshaydeepiitr at gmail.com
Tue Aug 15 12:18:39 UTC 2017


 cui/source/dialogs/cuicharmap.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 688624b78484bcb17c732b9c14dbb516fb6b28b4
Author: Akshay Deep <akshaydeepiitr at gmail.com>
Date:   Wed Aug 9 16:20:57 2017 +0530

    tdf#109217 - State of the favorite button is not updated immediately
    
    Change-Id: Ibc93277c71e51709d56345e8934f045c60d322ca
    Reviewed-on: https://gerrit.libreoffice.org/40914
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Akshay Deep <akshaydeepiitr at gmail.com>

diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx
index 9ae777a7affe..d148676dc645 100644
--- a/cui/source/dialogs/cuicharmap.cxx
+++ b/cui/source/dialogs/cuicharmap.cxx
@@ -941,7 +941,10 @@ IMPL_STATIC_LINK(SvxCharacterMap, LoseFocusHdl, Control&, pItem, void)
 IMPL_LINK_NOARG(SvxCharacterMap, FavSelectHdl, Button*, void)
 {
     if(m_pFavouritesBtn->GetText().match(CuiResId(RID_SVXSTR_ADD_FAVORITES)))
+    {
         updateFavCharacterList(m_pShowChar->GetText(), m_pShowChar->GetFont().GetFamilyName());
+        setFavButtonState(m_pShowChar->GetText(), m_pShowChar->GetFont().GetFamilyName());
+    }
     else
     {
         deleteFavCharacterFromList(m_pShowChar->GetText(), m_pShowChar->GetFont().GetFamilyName());


More information about the Libreoffice-commits mailing list