mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Use current_font, not real_current_font, in character dialog
The latter has the workarea font settings, which are not of interest here. Fixes: #11385
This commit is contained in:
parent
2682170556
commit
9705b88251
@ -401,7 +401,7 @@ lyx::FontState setMarkupState(Qt::CheckState cs)
|
||||
void GuiCharacter::updateContents()
|
||||
{
|
||||
if (bufferview()->cursor().selection()) {
|
||||
Font font = bufferview()->cursor().real_current_font;
|
||||
Font font = bufferview()->cursor().current_font;
|
||||
FontInfo fi = font.fontInfo();
|
||||
BufferParams const & bp = buffer().masterParams();
|
||||
|
||||
@ -445,7 +445,7 @@ void GuiCharacter::updateContents()
|
||||
}
|
||||
font_ = font;
|
||||
} else
|
||||
font_ = bufferview()->cursor().real_current_font;
|
||||
font_ = bufferview()->cursor().current_font;
|
||||
|
||||
paramsToDialog(font_);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user