phonebookui/Phonebook2/CommonUI/src/CPbk2ContactNavigation.cpp
branchRCL_3
changeset 18 d4f567ce2e7c
parent 0 e686773b3f54
--- a/phonebookui/Phonebook2/CommonUI/src/CPbk2ContactNavigation.cpp	Thu Jul 15 18:22:55 2010 +0300
+++ b/phonebookui/Phonebook2/CommonUI/src/CPbk2ContactNavigation.cpp	Thu Aug 19 09:41:07 2010 +0300
@@ -141,7 +141,14 @@
         {
         decorator->SetNaviDecoratorObserver
             (  const_cast<CPbk2ContactNavigation*>( this ) );
-        decorator->MakeScrollButtonVisible( ETrue );
+        CAknNavigationDecorator::TControlType controlType = 
+            decorator->ControlType();
+        // Set ScrollButtonVisible to ETrue except
+        // the controlType is CAknNavigationDecorator::ENaviLabel
+        if( CAknNavigationDecorator::ENaviLabel != controlType )
+            {
+            decorator->MakeScrollButtonVisible( ETrue );
+            }
         }
 
     TInt index = 0;