When disabling the spellchecker with the context menu, update the status bar correctly.

Patch by Vincent Dupont <vincent.touffi at gmail dot com>, thanks very much!

svn path=/trunk/KDE/kdepim/; revision=970469
wilder-work
Thomas McGuire 17 years ago
parent ae2e6a463e
commit 3e48a21433
  1. 6
      kmcomposewin.cpp

@ -3909,10 +3909,8 @@ void KMComposeWin::htmlToolBarVisibilityChanged( bool visible )
void KMComposeWin::slotAutoSpellCheckingToggled( bool on )
{
mAutoSpellCheckingAction->setChecked( on );
if ( on == mEditor->checkSpellingEnabled() )
return;
mEditor->setCheckSpellingEnabled( on );
if ( on != mEditor->checkSpellingEnabled() )
mEditor->setCheckSpellingEnabled( on );
QString temp;
if ( on ) {

Loading…
Cancel
Save