Diffstat (limited to 'core/pim/addressbook/addressbook.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/addressbook/addressbook.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp index c2cce92..12dc24e 100644 --- a/core/pim/addressbook/addressbook.cpp +++ b/core/pim/addressbook/addressbook.cpp @@ -715,2 +715,11 @@ void AddressbookWindow::editPersonal() OContact entry; + + // Switch to personal view if not selected + // but take care of the menu, too + if ( ! actionPersonal->isOn() ){ + qWarning("*** ++++"); + actionPersonal->setOn( true ); + slotPersonalView(); + } + if ( !abEditor ) { @@ -719,3 +728,2 @@ void AddressbookWindow::editPersonal() - m_abView->showPersonal( true ); abEditor->setCaption(tr("Edit My Personal Details")); @@ -730,4 +738,6 @@ void AddressbookWindow::slotPersonalView() { + qWarning("slotPersonalView()"); if (!actionPersonal->isOn()) { // we just turned it off + qWarning("slotPersonalView()-> OFF"); setCaption( tr("Contacts") ); @@ -744,2 +754,3 @@ void AddressbookWindow::slotPersonalView() + qWarning("slotPersonalView()-> ON"); // XXX need to disable some QActions. |