summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/abview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/pim/addressbook/abview.cpp b/core/pim/addressbook/abview.cpp
index 3af7663..0f4bd5f 100644
--- a/core/pim/addressbook/abview.cpp
+++ b/core/pim/addressbook/abview.cpp
@@ -408,15 +408,12 @@ void AbView::updateListinViews()
408} 408}
409 409
410void AbView::updateView() 410void AbView::updateView()
411{ 411{
412 qWarning("AbView::updateView()"); 412 qWarning("AbView::updateView()");
413 413
414 // Feed all views with new lists
415 updateListinViews();
416
417 if ( m_viewStack -> visibleWidget() ){ 414 if ( m_viewStack -> visibleWidget() ){
418 m_viewStack -> visibleWidget() -> clearFocus(); 415 m_viewStack -> visibleWidget() -> clearFocus();
419 } 416 }
420 417
421 // If we switching the view, we have to store some information 418 // If we switching the view, we have to store some information
422 if ( m_list.count() ){ 419 if ( m_list.count() ){
@@ -428,12 +425,15 @@ void AbView::updateView()
428 m_curr_Contact = m_ablabel -> currentEntry_UID(); 425 m_curr_Contact = m_ablabel -> currentEntry_UID();
429 break; 426 break;
430 } 427 }
431 }else 428 }else
432 m_curr_Contact = 0; 429 m_curr_Contact = 0;
433 430
431 // Feed all views with new lists
432 updateListinViews();
433
434 // Inform the world that the view is changed 434 // Inform the world that the view is changed
435 if ( m_curr_View != m_prev_View ) 435 if ( m_curr_View != m_prev_View )
436 emit signalViewSwitched ( (int) m_curr_View ); 436 emit signalViewSwitched ( (int) m_curr_View );
437 437
438 m_prev_View = m_curr_View; 438 m_prev_View = m_curr_View;
439 439