-rw-r--r-- | kaddressbook/details/detailsviewcontainer.cpp | 3 | ||||
-rw-r--r-- | kaddressbook/kabcore.cpp | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/kaddressbook/details/detailsviewcontainer.cpp b/kaddressbook/details/detailsviewcontainer.cpp index 8f566cf..a42499f 100644 --- a/kaddressbook/details/detailsviewcontainer.cpp +++ b/kaddressbook/details/detailsviewcontainer.cpp | |||
@@ -134,9 +134,10 @@ void ViewContainer::slotStyleSelected( int index ) | |||
134 | } | 134 | } |
135 | void ViewContainer::refreshView() | 135 | void ViewContainer::refreshView() |
136 | { | 136 | { |
137 | if ( mCurrentLook ) | 137 | if ( mCurrentLook ) { |
138 | mCurrentLook->setAddressee( mCurrentAddressee ); | 138 | mCurrentLook->setAddressee( mCurrentAddressee ); |
139 | } | 139 | } |
140 | } | ||
140 | 141 | ||
141 | void ViewContainer::setAddressee( const KABC::Addressee& addressee ) | 142 | void ViewContainer::setAddressee( const KABC::Addressee& addressee ) |
142 | { | 143 | { |
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 2b07541..a7ca0ce 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp | |||
@@ -1124,6 +1124,7 @@ void KABCore::addressBookChanged() | |||
1124 | mEditorDialog->setAddressee( mAddressBook->findByUid( currentuid ) ); | 1124 | mEditorDialog->setAddressee( mAddressBook->findByUid( currentuid ) ); |
1125 | } | 1125 | } |
1126 | mViewManager->refreshView(); | 1126 | mViewManager->refreshView(); |
1127 | // mDetails->refreshView(); | ||
1127 | 1128 | ||
1128 | 1129 | ||
1129 | } | 1130 | } |