summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/addressbook.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp
index 75e539a..6984501 100644
--- a/core/pim/addressbook/addressbook.cpp
+++ b/core/pim/addressbook/addressbook.cpp
@@ -666,4 +666,8 @@ void AddressbookWindow::editEntry( EntryMode entryMode )
abEditor->setEntry( entry );
- // other things may change the caption.
- abEditor->setCaption( tr("Edit Address") );
+
+ // Set the dialog caption
+ if ( m_actionPersonal->isOn() )
+ abEditor->setCaption( tr( "Edit My Personal Details" ) );
+ else
+ abEditor->setCaption( tr( "Edit Contact" ) );
@@ -708,6 +712,5 @@ void AddressbookWindow::editPersonal()
- abEditor->setCaption(tr("Edit My Personal Details"));
- abEditor->setPersonalView( true );
+ abEditor->setPersonalView( true );
editEntry( EditEntry );
- abEditor->setPersonalView( false );
+ abEditor->setPersonalView( false );