From kde-commits Mon Sep 12 16:10:05 2005 From: Will Stephenson Date: Mon, 12 Sep 2005 16:10:05 +0000 To: kde-commits Subject: branches/KDE/3.4/kdenetwork/kopete/protocols/groupwise/ui Message-Id: <1126541405.903789.1526.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=112654161426731 SVN commit 459978 by wstephens: Backport fix for crash while adding contacts while offline. M +4 -1 gwaddcontactpage.cpp --- branches/KDE/3.4/kdenetwork/kopete/protocols/groupwise/ui/gwaddcontactpage.cpp #459977:459978 @@ -99,7 +99,10 @@ bool GroupWiseAddContactPage::validateData() { - return ( m_searchUI->m_results->selectedItem() ); + if ( m_canadd ) + return ( m_searchUI->m_results->selectedItem() ); + else + return false; } #include "gwaddcontactpage.moc"