mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
Fix bug reported by Pascale
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5744 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1f07acc188
commit
1e640e8bc7
@ -1,3 +1,7 @@
|
||||
2002-11-28 John Levon <levon@movementarian.org>
|
||||
|
||||
* QSpellcheckerDialog.C: fix Escape + restarting spellcheck
|
||||
|
||||
2002-11-28 John Levon <levon@movementarian.org>
|
||||
|
||||
* QSpellcheckerDialog.C: small fix
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include "QSpellchecker.h"
|
||||
#include "Qt2BC.h"
|
||||
#include "gettext.h"
|
||||
#include "debug.h"
|
||||
|
||||
#include <qprogressbar.h>
|
||||
#include <qmessagebox.h>
|
||||
@ -114,6 +115,7 @@ void QSpellchecker::partialUpdate(int id)
|
||||
case 2:
|
||||
dialog_->spellcheckPB->setEnabled(true);
|
||||
hide();
|
||||
lyxerr << controller().getMessage() << endl;
|
||||
QMessageBox::information(0, _("Spellcheck complete"),
|
||||
controller().getMessage().c_str(),
|
||||
_("OK"));
|
||||
|
@ -102,3 +102,10 @@ void QSpellcheckerDialog::closeEvent(QCloseEvent * e)
|
||||
form_->slotWMHide();
|
||||
e->accept();
|
||||
}
|
||||
|
||||
|
||||
void QSpellcheckerDialog::reject()
|
||||
{
|
||||
form_->slotWMHide();
|
||||
QSpellcheckerDialogBase::reject();
|
||||
}
|
||||
|
@ -33,6 +33,8 @@ protected slots:
|
||||
virtual void ignoreClicked();
|
||||
virtual void suggestionChanged(const QString &);
|
||||
virtual void replaceChanged(const QString &);
|
||||
virtual void reject();
|
||||
|
||||
protected:
|
||||
virtual void closeEvent(QCloseEvent * e);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user