Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 9bb938de93248ca5cc71ecf424cefd6c > files > 45

kdebase-3.5.4-21.el5_5.1.src.rpm

--- kdebase-3.5.4/khelpcenter/navigator.cpp.khelpcenter	2005-10-10 17:03:57.000000000 +0200
+++ kdebase-3.5.4/khelpcenter/navigator.cpp	2007-11-21 16:57:46.000000000 +0100
@@ -587,9 +587,9 @@
 {
   KConfig *cfg = KGlobal::config();
   cfg->setGroup( "Search" );
-  if ( cfg->readBoolEntry( "IndexExists", false ) ) return true;
+  if ( cfg->readBoolEntry( "IndexExists", true ) ) return true;
 
-  if ( mIndexDialog && mIndexDialog->isShown() ) return true;
+  if ( mIndexDialog && !mIndexDialog->isHidden() ) return true;
 
   QString text = i18n( "A search index does not yet exist. Do you want "
                        "to create the index now?" );