From 0c362cbc72dfbff246c0f11417d364b45b50ec94 Mon Sep 17 00:00:00 2001 From: drw Date: Tue, 09 Aug 2005 22:24:10 +0000 Subject: Several updates to Dagger, see /noncore/apps/dagger/ChangeLog for more information --- (limited to 'noncore/apps/dagger/searchbar.cpp') diff --git a/noncore/apps/dagger/searchbar.cpp b/noncore/apps/dagger/searchbar.cpp index b195f67..463a19f 100644 --- a/noncore/apps/dagger/searchbar.cpp +++ b/noncore/apps/dagger/searchbar.cpp @@ -91,7 +91,7 @@ void SearchBar::setCurrModule( TextWidget *currText ) { m_actionFind->setEnabled( ( m_searchText->text() != "" ) && currText ); - if ( !m_currText || ( currText->getModuleName() != m_currText->getModuleName() ) ) + if ( !m_currText || !currText || ( currText->getModuleName() != m_currText->getModuleName() ) ) { m_actionPrev->setEnabled( false ); m_resultList->clear(); -- cgit v0.9.0.2