update style combo when necessary

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5864 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Edwin Leuven 2002-12-18 20:48:26 +00:00
parent 5a0a07e175
commit f0ce68912c
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2002-12-18 Edwin Leuven <e.leuven@uva.nl>
* QCitationDialog.C: update styles combo when necessary
2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* Alert_pimpl.C (askForText_pimpl): replace qt_() with _()

View File

@ -169,6 +169,7 @@ void QCitationDialog::slotAddClicked()
form_->setBibButtons(QCitation::OFF);
form_->setCiteButtons(QCitation::ON);
form_->changed();
form_->fillStyles();
}
@ -188,6 +189,8 @@ void QCitationDialog::slotDelClicked()
form_->setBibButtons(QCitation::ON);
form_->setCiteButtons(QCitation::OFF);
form_->changed();
form_->fillStyles();
form_->updateStyle();
}
@ -212,6 +215,7 @@ void QCitationDialog::slotUpClicked()
form_->citekeys.insert(it - 1, tmp);
form_->setCiteButtons(QCitation::ON);
form_->changed();
form_->fillStyles();
}
@ -236,6 +240,7 @@ void QCitationDialog::slotDownClicked()
form_->citekeys.insert(it + 1, tmp);
form_->setCiteButtons(QCitation::ON);
form_->changed();
form_->fillStyles();
}