mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
alfredo's qspellcheck fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5938 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
055fe2604d
commit
2903fd3fc5
@ -1,3 +1,8 @@
|
||||
2003-01-12 Alfredo Braunstein <abraunst@libero.it>
|
||||
|
||||
* QSpellcheckerDialog.C (spellcheck,update_contents): enable/disable
|
||||
elements of the dialog.
|
||||
|
||||
2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
|
||||
|
||||
* ui/Makefile.am (EXTRA_DIST): dist ui files
|
||||
|
@ -52,6 +52,13 @@ void QSpellchecker::update_contents()
|
||||
dialog_->replaceCO->clear();
|
||||
dialog_->suggestionsLB->clear();
|
||||
dialog_->spellcheckPR->setProgress(0);
|
||||
dialog_->spellcheckPB->setEnabled(true);
|
||||
dialog_->wordED->setEnabled(false);
|
||||
dialog_->replaceCO->setEnabled(false);
|
||||
dialog_->replacePB->setEnabled(false);
|
||||
dialog_->ignorePB->setEnabled(false);
|
||||
dialog_->replacePB_3->setEnabled(false);
|
||||
dialog_->addPB->setEnabled(false);
|
||||
}
|
||||
|
||||
|
||||
@ -81,8 +88,14 @@ void QSpellchecker::replace()
|
||||
|
||||
void QSpellchecker::spellcheck()
|
||||
{
|
||||
controller().check();
|
||||
dialog_->spellcheckPB->setEnabled(false);
|
||||
dialog_->wordED->setEnabled(true);
|
||||
dialog_->replaceCO->setEnabled(true);
|
||||
dialog_->replacePB->setEnabled(true);
|
||||
dialog_->ignorePB->setEnabled(true);
|
||||
dialog_->replacePB_3->setEnabled(true);
|
||||
dialog_->addPB->setEnabled(true);
|
||||
controller().check();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user