summaryrefslogtreecommitdiff
authortille <tille>2002-12-14 23:41:39 (UTC)
committer tille <tille>2002-12-14 23:41:39 (UTC)
commit3fb7da21aa421afdbdbfd6e02a457d7d55236ef7 (patch) (side-by-side diff)
treee48be6be2cab6f1f1607dad30aea8b52c7a89500
parent11638099db6dd30ff5542f636f5291e2af20c3e1 (diff)
downloadopie-3fb7da21aa421afdbdbfd6e02a457d7d55236ef7.zip
opie-3fb7da21aa421afdbdbfd6e02a457d7d55236ef7.tar.gz
opie-3fb7da21aa421afdbdbfd6e02a457d7d55236ef7.tar.bz2
fixes bug #548
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/addressbook.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp
index 30fa85b..c2cce92 100644
--- a/core/pim/addressbook/addressbook.cpp
+++ b/core/pim/addressbook/addressbook.cpp
@@ -696,48 +696,49 @@ void AddressbookWindow::editEntry( EntryMode entryMode )
if ( entryMode == NewEntry ) {
OContact insertEntry = abEditor->entry();
insertEntry.assignUid();
m_abView -> addEntry( insertEntry );
} else {
OContact replEntry = abEditor->entry();
if ( !replEntry.isValidUid() )
replEntry.assignUid();
m_abView -> replaceEntry( replEntry );
}
}
// populateCategories();
}
void AddressbookWindow::editPersonal()
{
OContact entry;
if ( !abEditor ) {
abEditor = new ContactEditor( entry, this, "editor" );
}
+ m_abView->showPersonal( true );
abEditor->setCaption(tr("Edit My Personal Details"));
abEditor->setPersonalView( true );
editEntry( EditEntry );
abEditor->setPersonalView( false );
}
void AddressbookWindow::slotPersonalView()
{
if (!actionPersonal->isOn()) {
// we just turned it off
setCaption( tr("Contacts") );
actionNew->setEnabled(TRUE);
actionTrash->setEnabled(TRUE);
actionFind->setEnabled(TRUE);
actionMail->setEnabled(TRUE);
// slotUpdateToolbar();
m_abView->showPersonal( false );
return;
}