summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/addressbook/addressbook.cpp9
1 files changed, 6 insertions, 3 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
@@ -665,6 +665,10 @@ void AddressbookWindow::editEntry( EntryMode entryMode )
else if ( entryMode == NewEntry )
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" ) );
// fix the focus...
@@ -707,5 +711,4 @@ void AddressbookWindow::editPersonal()
}
- abEditor->setCaption(tr("Edit My Personal Details"));
abEditor->setPersonalView( true );
editEntry( EditEntry );