summaryrefslogtreecommitdiff
path: root/noncore/apps/dagger/searchbar.cpp
authordrw <drw>2005-08-09 22:24:10 (UTC)
committer drw <drw>2005-08-09 22:24:10 (UTC)
commit0c362cbc72dfbff246c0f11417d364b45b50ec94 (patch) (side-by-side diff)
tree6e1fcdc99ff40752343d7b4c99822eba591a2f15 /noncore/apps/dagger/searchbar.cpp
parent873a383cfc4f9184adfe9257500df8c03648b0fd (diff)
downloadopie-0c362cbc72dfbff246c0f11417d364b45b50ec94.zip
opie-0c362cbc72dfbff246c0f11417d364b45b50ec94.tar.gz
opie-0c362cbc72dfbff246c0f11417d364b45b50ec94.tar.bz2
Several updates to Dagger, see /noncore/apps/dagger/ChangeLog for more information
Diffstat (limited to 'noncore/apps/dagger/searchbar.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/dagger/searchbar.cpp2
1 files changed, 1 insertions, 1 deletions
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
@@ -88,13 +88,13 @@ SearchBar::SearchBar( QMainWindow *parent )
}
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();
m_resultList->setEnabled( false );
m_actionNext->setEnabled( false );
}