ImagePrint/ImagePrintUI/imageprintapp/src/cpropertiesboxmodel.cpp
changeset 1 ceeb73e410b5
parent 0 d11fb78c4374
child 2 acc370d7f2f6
equal deleted inserted replaced
0:d11fb78c4374 1:ceeb73e410b5
   234 void CPropertiesBoxModel::HandleListBoxEventL(
   234 void CPropertiesBoxModel::HandleListBoxEventL(
   235     CEikListBox* aListBox,
   235     CEikListBox* aListBox,
   236     TListBoxEvent aEventType )
   236     TListBoxEvent aEventType )
   237     {
   237     {
   238     LOG("CPropertiesBoxModel::HandleListBoxEventL START");
   238     LOG("CPropertiesBoxModel::HandleListBoxEventL START");
   239  
   239     //Change to EEventItemSingleClicked for Single click event
   240     if ( (aEventType == EEventEnterKeyPressed || aEventType == EEventItemDoubleClicked) &&
   240     if ( (aEventType == EEventEnterKeyPressed || aEventType == EEventItemSingleClicked ) &&
   241          aListBox->CurrentItemIndex() != KErrNotFound )
   241          aListBox->CurrentItemIndex() != KErrNotFound )
   242         {
   242         {
   243         if( aListBox->CurrentItemIndex() == 0 )
   243         if( aListBox->CurrentItemIndex() == 0 )
   244             {
   244             {
   245             // launch dialog query for selecting default printer this returns
   245             // launch dialog query for selecting default printer this returns