cui/source/dialogs/cuicharmap.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 688624b78484bcb17c732b9c14dbb516fb6b28b4 Author: Akshay Deep <akshaydeepi...@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 <c...@libreoffice.org> Reviewed-by: Akshay Deep <akshaydeepi...@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()); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits