mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
Make the Apply button of the GuiCharacter dialog buffer dependent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28240 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2afc45c538
commit
d87030a353
@ -253,8 +253,10 @@ static int findPos2nd(QList<P> const & vec, B const & val)
|
||||
|
||||
void GuiCharacter::updateContents()
|
||||
{
|
||||
if (!autoapplyCB->isChecked())
|
||||
if (!autoapplyCB->isChecked()) {
|
||||
bc().setValid(true);
|
||||
return;
|
||||
}
|
||||
if (bufferview()->cursor().selection()) {
|
||||
//FIXME: it would be better to check if each font attribute is constant
|
||||
// for the selection range.
|
||||
|
Loading…
x
Reference in New Issue
Block a user