From kde-commits Sat Oct 15 17:02:36 2005 From: =?utf-8?q?Lu=C3=ADs=20Pedro=20Coelho?= Date: Sat, 15 Oct 2005 17:02:36 +0000 To: kde-commits Subject: branches/KDE/3.5/kdepim/kmail Message-Id: <1129395756.199211.24042.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=112939577517146 SVN commit 470926 by luis_pedro: Check correctly for whether we are enabling the index M +1 -1 index.cpp --- branches/KDE/3.5/kdepim/kmail/index.cpp #470925:470926 @@ -167,7 +167,7 @@ kdDebug( 5006 ) << "KMMsgIndex::setEnabled( " << e << " )" << endl; KConfig* config = KMKernel::config(); KConfigGroupSaver saver( config, "text-index" ); - if ( config->readBoolEntry( "enabled", e ) == e ) return; + if ( config->readBoolEntry( "enabled", !e ) == e ) return; config->writeEntry( "enabled", e ); if ( e ) { switch ( mState ) {