From 59f727076930aada485db6531d4084f2bfe0b928 Mon Sep 17 00:00:00 2001 From: ulf69 Date: Thu, 15 Jul 2004 05:06:06 +0000 Subject: ask for readwrite resources if the user wants them to reload in the case of an external change. --- (limited to 'kaddressbook') 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,8 +134,9 @@ void ViewContainer::slotStyleSelected( int index ) } void ViewContainer::refreshView() { - if ( mCurrentLook ) + if ( mCurrentLook ) { mCurrentLook->setAddressee( mCurrentAddressee ); + } } void ViewContainer::setAddressee( const KABC::Addressee& addressee ) 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() mEditorDialog->setAddressee( mAddressBook->findByUid( currentuid ) ); } mViewManager->refreshView(); +// mDetails->refreshView(); } -- cgit v0.9.0.2