author | tille <tille> | 2002-12-14 23:41:39 (UTC) |
---|---|---|
committer | tille <tille> | 2002-12-14 23:41:39 (UTC) |
commit | 3fb7da21aa421afdbdbfd6e02a457d7d55236ef7 (patch) (unidiff) | |
tree | e48be6be2cab6f1f1607dad30aea8b52c7a89500 | |
parent | 11638099db6dd30ff5542f636f5291e2af20c3e1 (diff) | |
download | opie-3fb7da21aa421afdbdbfd6e02a457d7d55236ef7.zip opie-3fb7da21aa421afdbdbfd6e02a457d7d55236ef7.tar.gz opie-3fb7da21aa421afdbdbfd6e02a457d7d55236ef7.tar.bz2 |
fixes bug #548
-rw-r--r-- | core/pim/addressbook/addressbook.cpp | 1 |
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 | |||
@@ -704,32 +704,33 @@ void AddressbookWindow::editEntry( EntryMode entryMode ) | |||
704 | replEntry.assignUid(); | 704 | replEntry.assignUid(); |
705 | 705 | ||
706 | m_abView -> replaceEntry( replEntry ); | 706 | m_abView -> replaceEntry( replEntry ); |
707 | } | 707 | } |
708 | } | 708 | } |
709 | // populateCategories(); | 709 | // populateCategories(); |
710 | 710 | ||
711 | } | 711 | } |
712 | 712 | ||
713 | void AddressbookWindow::editPersonal() | 713 | void AddressbookWindow::editPersonal() |
714 | { | 714 | { |
715 | OContact entry; | 715 | OContact entry; |
716 | if ( !abEditor ) { | 716 | if ( !abEditor ) { |
717 | abEditor = new ContactEditor( entry, this, "editor" ); | 717 | abEditor = new ContactEditor( entry, this, "editor" ); |
718 | } | 718 | } |
719 | 719 | ||
720 | m_abView->showPersonal( true ); | ||
720 | abEditor->setCaption(tr("Edit My Personal Details")); | 721 | abEditor->setCaption(tr("Edit My Personal Details")); |
721 | abEditor->setPersonalView( true ); | 722 | abEditor->setPersonalView( true ); |
722 | editEntry( EditEntry ); | 723 | editEntry( EditEntry ); |
723 | abEditor->setPersonalView( false ); | 724 | abEditor->setPersonalView( false ); |
724 | 725 | ||
725 | } | 726 | } |
726 | 727 | ||
727 | 728 | ||
728 | void AddressbookWindow::slotPersonalView() | 729 | void AddressbookWindow::slotPersonalView() |
729 | { | 730 | { |
730 | if (!actionPersonal->isOn()) { | 731 | if (!actionPersonal->isOn()) { |
731 | // we just turned it off | 732 | // we just turned it off |
732 | setCaption( tr("Contacts") ); | 733 | setCaption( tr("Contacts") ); |
733 | actionNew->setEnabled(TRUE); | 734 | actionNew->setEnabled(TRUE); |
734 | actionTrash->setEnabled(TRUE); | 735 | actionTrash->setEnabled(TRUE); |
735 | actionFind->setEnabled(TRUE); | 736 | actionFind->setEnabled(TRUE); |