branch: Fix bug #6952: Make the Apply button of the GuiCharacter? dialog buffer dependent.

see r28240.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36677 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-12-03 10:16:24 +00:00
parent f984080b21
commit 132084b5ef
2 changed files with 6 additions and 1 deletions

View File

@ -252,8 +252,10 @@ static int findPos2nd(QList<P> const & vec, B const & val)
void GuiCharacter::updateContents() void GuiCharacter::updateContents()
{ {
if (!autoapplyCB->isChecked()) if (!autoapplyCB->isChecked()) {
bc().setValid(true);
return; return;
}
if (bufferview()->cursor().selection()) { if (bufferview()->cursor().selection()) {
//FIXME: it would be better to check if each font attribute is constant //FIXME: it would be better to check if each font attribute is constant
// for the selection range. // for the selection range.

View File

@ -87,6 +87,9 @@ What's new
- Numbered items in insets that do not produce any output (e.g., Notes) - Numbered items in insets that do not produce any output (e.g., Notes)
no longer have a number associated with them (bug 6315). no longer have a number associated with them (bug 6315).
- Update the status of the button in the Text Style dialog when the
cursor is moved (bug 6952).
* DOCUMENTATION AND LOCALIZATION * DOCUMENTATION AND LOCALIZATION