mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
LFUN_TEXTSTYLE_UPDATE: Do not force any unspecified settings.
Fixes: #11111 (yay!)
(cherry picked from commit 2f9876a410
)
This commit is contained in:
parent
4eab21b2bc
commit
35f0117b5f
@ -2368,7 +2368,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
// Set the freefont using the contents of \param data dispatched from
|
||||
// the frontends and apply it at the current cursor location.
|
||||
case LFUN_TEXTSTYLE_UPDATE: {
|
||||
Font font;
|
||||
Font font(ignore_font, ignore_language);
|
||||
bool toggle;
|
||||
if (font.fromString(to_utf8(cmd.argument()), toggle)) {
|
||||
freefont = font;
|
||||
|
@ -44,6 +44,9 @@ What's new
|
||||
|
||||
- Fix regression where spaces are disappearing when editing text (bug 11412).
|
||||
|
||||
- The function textstyle-update now only changes explicitly stated font
|
||||
attributes (bug 11111).
|
||||
|
||||
|
||||
* DOCUMENTATION AND LOCALIZATION
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user