menufw/menufwui/mmwidgets/src/mmgridcontainer.cpp
branchRCL_3
changeset 26 1b758917cafc
parent 25 137ebc85284b
equal deleted inserted replaced
25:137ebc85284b 26:1b758917cafc
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:
    14 * Description:
    15 *  Version     : %version: MM_75 % << Don't touch! Updated by Synergy at check-out.
    15 *  Version     : %version: MM_76 % << Don't touch! Updated by Synergy at check-out.
    16 *  Version     : %version: MM_75 % << Don't touch! Updated by Synergy at check-out.
    16 *  Version     : %version: MM_76 % << Don't touch! Updated by Synergy at check-out.
    17 *
    17 *
    18 */
    18 */
    19 
    19 
    20 
    20 
    21 #include "mmgridcontainer.h"
    21 #include "mmgridcontainer.h"
   264 // -----------------------------------------------------------------------------
   264 // -----------------------------------------------------------------------------
   265 //
   265 //
   266 void CMmGridContainer::SetSuiteModelL( CHnSuiteModel* aModel )
   266 void CMmGridContainer::SetSuiteModelL( CHnSuiteModel* aModel )
   267     {
   267     {
   268     CMmWidgetContainer::SetSuiteModelL( aModel );
   268     CMmWidgetContainer::SetSuiteModelL( aModel );
   269     if ( aModel )
       
   270         {
       
   271         aModel->SetActiveL( !AknLayoutUtils::PenEnabled() );
       
   272         }
       
   273     }
   269     }
   274 
   270 
   275 // -----------------------------------------------------------------------------
   271 // -----------------------------------------------------------------------------
   276 //
   272 //
   277 // -----------------------------------------------------------------------------
   273 // -----------------------------------------------------------------------------