summaryrefslogtreecommitdiff
authordrw <drw>2005-02-07 22:08:38 (UTC)
committer drw <drw>2005-02-07 22:08:38 (UTC)
commit2e4fd59ce900490ccbbb6c0f7b2fcd4811ac8a07 (patch) (unidiff)
treedd1c91d19c4e53fea60245e3d4d535ac176ee2c8
parent7631c91d6c495a6c60e87a9ab131280f31ee4c87 (diff)
downloadopie-2e4fd59ce900490ccbbb6c0f7b2fcd4811ac8a07.zip
opie-2e4fd59ce900490ccbbb6c0f7b2fcd4811ac8a07.tar.gz
opie-2e4fd59ce900490ccbbb6c0f7b2fcd4811ac8a07.tar.bz2
Fix contact edit dialog captioning
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
@@ -664,8 +664,12 @@ void AddressbookWindow::editEntry( EntryMode entryMode )
664 abEditor->setEntry( m_abView -> currentEntry() ); 664 abEditor->setEntry( m_abView -> currentEntry() );
665 else if ( entryMode == NewEntry ) 665 else if ( entryMode == NewEntry )
666 abEditor->setEntry( entry ); 666 abEditor->setEntry( entry );
667 // other things may change the caption. 667
668 abEditor->setCaption( tr("Edit Address") ); 668 // Set the dialog caption
669 if ( m_actionPersonal->isOn() )
670 abEditor->setCaption( tr( "Edit My Personal Details" ) );
671 else
672 abEditor->setCaption( tr( "Edit Contact" ) );
669 673
670 // fix the focus... 674 // fix the focus...
671 abEditor->setNameFocus(); 675 abEditor->setNameFocus();
@@ -706,7 +710,6 @@ void AddressbookWindow::editPersonal()
706 abEditor = new ContactEditor( entry, this, "editor" ); 710 abEditor = new ContactEditor( entry, this, "editor" );
707 } 711 }
708 712
709 abEditor->setCaption(tr("Edit My Personal Details"));
710 abEditor->setPersonalView( true ); 713 abEditor->setPersonalView( true );
711 editEntry( EditEntry ); 714 editEntry( EditEntry );
712 abEditor->setPersonalView( false ); 715 abEditor->setPersonalView( false );