-rw-r--r-- | kaddressbook/kabcore.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 3f7a7da..e8f6132 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp | |||
@@ -1434,24 +1434,29 @@ void KABCore::setJumpButtonBarVisible( bool visible ) | |||
1434 | if (mViewManager->isVisible()) | 1434 | if (mViewManager->isVisible()) |
1435 | { | 1435 | { |
1436 | if ( visible ) | 1436 | if ( visible ) |
1437 | mJumpButtonBar->show(); | 1437 | mJumpButtonBar->show(); |
1438 | else | 1438 | else |
1439 | mJumpButtonBar->hide(); | 1439 | mJumpButtonBar->hide(); |
1440 | } | 1440 | } |
1441 | else | 1441 | else |
1442 | { | 1442 | { |
1443 | mJumpButtonBar->hide(); | 1443 | mJumpButtonBar->hide(); |
1444 | } | 1444 | } |
1445 | } | 1445 | } |
1446 | if ( visible ) { | ||
1447 | if ( mIncSearchWidget->currentItem() == 0 ) { | ||
1448 | message( i18n("Change search field enable jump bar") ); | ||
1449 | } | ||
1450 | } | ||
1446 | } | 1451 | } |
1447 | 1452 | ||
1448 | 1453 | ||
1449 | void KABCore::setDetailsToState() | 1454 | void KABCore::setDetailsToState() |
1450 | { | 1455 | { |
1451 | setDetailsVisible( mActionDetails->isChecked() ); | 1456 | setDetailsVisible( mActionDetails->isChecked() ); |
1452 | } | 1457 | } |
1453 | void KABCore::setDetailsToggle() | 1458 | void KABCore::setDetailsToggle() |
1454 | { | 1459 | { |
1455 | mActionDetails->setChecked( !mActionDetails->isChecked() ); | 1460 | mActionDetails->setChecked( !mActionDetails->isChecked() ); |
1456 | setDetailsToState(); | 1461 | setDetailsToState(); |
1457 | } | 1462 | } |