summaryrefslogtreecommitdiffstats
path: root/kaddressbook/features/resourceselection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/features/resourceselection.cpp')
-rw-r--r--kaddressbook/features/resourceselection.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/kaddressbook/features/resourceselection.cpp b/kaddressbook/features/resourceselection.cpp
index d6edba25e..59a3c1ee6 100644
--- a/kaddressbook/features/resourceselection.cpp
+++ b/kaddressbook/features/resourceselection.cpp
@@ -251,7 +251,6 @@ void ResourceSelection::add()
return;
}
- resource->setResourceName( i18n( "%1 address book" ).arg( type ) );
resource->setAddressBook(core()->addressBook());
KRES::ConfigDialog dlg( this, TQString( "contact" ), resource );
@@ -262,6 +261,7 @@ void ResourceSelection::add()
mLastResource = resource->identifier();
updateView();
+ currentChanged(mListView->currentItem() );
} else {
delete resource;
resource = 0;
@@ -309,6 +309,7 @@ void ResourceSelection::remove()
core()->addressBook()->emitAddressBookChanged();
updateView();
+ currentChanged(mListView->currentItem() );
}
void ResourceSelection::currentChanged( TQListViewItem *item )