From 755c9d44fe5d11ffb7166a81cee386125a65a999 Mon Sep 17 00:00:00 2001 From: Montel Laurent Date: Tue, 13 Sep 2011 13:14:03 +0200 Subject: [PATCH] Fix Bug 266456 - Message list tabs icons are not refreshed when changing the current one. FIXED-IN: 4.7.2 BUG: 266456 --- kmmainwidget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kmmainwidget.cpp b/kmmainwidget.cpp index 2817ae03d..431968f76 100644 --- a/kmmainwidget.cpp +++ b/kmmainwidget.cpp @@ -1180,8 +1180,9 @@ void KMMainWidget::slotCollectionChanged( const Akonadi::Collection&collection, && ( collection == mCurrentFolder->collection() ) && set.contains( "MESSAGEFOLDER" ) ) { mMessagePane->resetModelStorage(); + } else if ( set.contains( "ENTITYDISPLAY" ) || set.contains( "NAME" ) ) { + mMessagePane->updateTabIconText( collection ); } - //TODO update tab name/tab icons when collection changes }