[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - cui/source
Tamás Zolnai (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jun 4 12:22:16 UTC 2019
cui/source/dialogs/cuicharmap.cxx | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
New commits:
commit 391d83edb3e5b179968372bff83d828e13fa17ab
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Sat Jun 1 13:28:36 2019 +0200
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Tue Jun 4 14:21:42 2019 +0200
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: Tamás Zolnai <tamas.zolnai at collabora.com>
(cherry picked from commit 7dc6525fddc418359eefa2cd7c7ecbbd1269e8f6)
Reviewed-on: https://gerrit.libreoffice.org/73318
Reviewed-by: Andras Timar <andras.timar at collabora.com>
diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx
index 7999aaba15a2..61899ea50a8c 100644
--- a/cui/source/dialogs/cuicharmap.cxx
+++ b/cui/source/dialogs/cuicharmap.cxx
@@ -921,8 +921,12 @@ IMPL_LINK_NOARG(SvxCharacterMap, SearchCharSelectHdl, SvxShowCharSet*, void)
IMPL_LINK_NOARG(SvxCharacterMap, InsertClickHdl, weld::Button&, void)
{
- insertCharToDoc(m_aShowChar.GetText());
- m_xDialog->response(RET_OK);
+ OUString sChar = m_aShowChar.GetText();
+ 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)
More information about the Libreoffice-commits
mailing list