Kaydet (Commit) 7dc6525f authored tarafından Tamás Zolnai's avatar Tamás Zolnai

tdf#125576: Empty recent characters in special characters dialog...

... for bullet customization

Change-Id: Ica66dcc0d3f379886788d426941b98d170444799
Reviewed-on: https://gerrit.libreoffice.org/73306
Tested-by: Jenkins
Reviewed-by: 's avatarTamás Zolnai <tamas.zolnai@collabora.com>
üst 86e935d5
...@@ -921,8 +921,12 @@ IMPL_LINK_NOARG(SvxCharacterMap, SearchCharSelectHdl, SvxShowCharSet*, void) ...@@ -921,8 +921,12 @@ IMPL_LINK_NOARG(SvxCharacterMap, SearchCharSelectHdl, SvxShowCharSet*, void)
IMPL_LINK_NOARG(SvxCharacterMap, InsertClickHdl, weld::Button&, void) IMPL_LINK_NOARG(SvxCharacterMap, InsertClickHdl, weld::Button&, void)
{ {
insertCharToDoc(m_aShowChar.GetText()); OUString sChar = m_aShowChar.GetText();
m_xDialog->response(RET_OK); insertCharToDoc(sChar);
// Need to update recent character list, when OK button does not insert
if(!m_xFrame.is())
updateRecentCharacterList(sChar, aFont.GetFamilyName());
m_xDialog->response(RET_OK);
} }
IMPL_LINK_NOARG(SvxCharacterMap, FavSelectHdl, weld::Button&, void) IMPL_LINK_NOARG(SvxCharacterMap, FavSelectHdl, weld::Button&, void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment