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 ) {