From 3e48a2143330da3a074ecfb4737e0d4ee7c47ee6 Mon Sep 17 00:00:00 2001 From: Thomas McGuire Date: Wed, 20 May 2009 10:09:26 +0000 Subject: [PATCH] When disabling the spellchecker with the context menu, update the status bar correctly. Patch by Vincent Dupont , thanks very much! svn path=/trunk/KDE/kdepim/; revision=970469 --- kmcomposewin.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kmcomposewin.cpp b/kmcomposewin.cpp index 0c110901f..24ed0f763 100644 --- a/kmcomposewin.cpp +++ b/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 ) {