small fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5742 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-11-28 15:41:48 +00:00
parent fb17dec20d
commit da164a6045
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-11-28 John Levon <levon@movementarian.org>
* QSpellcheckerDialog.C: small fix
2002-11-28 John Levon <levon@movementarian.org> 2002-11-28 John Levon <levon@movementarian.org>
* QDocument.C: fix line spacing * QDocument.C: fix line spacing

View File

@ -99,8 +99,8 @@ void QSpellchecker::partialUpdate(int id)
case 0: case 0:
dialog_->spellcheckPR->setProgress(controller().getProgress()); dialog_->spellcheckPR->setProgress(controller().getProgress());
break; break;
case 1:
{ case 1: {
dialog_->wordED->setText(controller().getWord().c_str()); dialog_->wordED->setText(controller().getWord().c_str());
dialog_->suggestionsLB->clear(); dialog_->suggestionsLB->clear();
@ -110,6 +110,7 @@ void QSpellchecker::partialUpdate(int id)
} }
} }
break; break;
case 2: case 2:
dialog_->spellcheckPB->setEnabled(true); dialog_->spellcheckPB->setEnabled(true);
hide(); hide();

View File

@ -98,6 +98,7 @@ void QSpellcheckerDialog::replaceChanged(QString const & str)
void QSpellcheckerDialog::closeEvent(QCloseEvent * e) void QSpellcheckerDialog::closeEvent(QCloseEvent * e)
{ {
form_->stop();
form_->slotWMHide(); form_->slotWMHide();
e->accept(); e->accept();
} }