profilesservices/MediaFileList/Src/mediafiledialog.cpp
branchRCL_3
changeset 28 854ebc17f64b
parent 25 3b47783fdf16
child 51 8bda91a87a00
equal deleted inserted replaced
25:3b47783fdf16 28:854ebc17f64b
   591 // ----------------------------------------------------------------------------
   591 // ----------------------------------------------------------------------------
   592 //
   592 //
   593 TKeyResponse CMediaFileDialog::OfferKeyEventL(const TKeyEvent& aKeyEvent,
   593 TKeyResponse CMediaFileDialog::OfferKeyEventL(const TKeyEvent& aKeyEvent,
   594                                                       TEventCode aType)
   594                                                       TEventCode aType)
   595     {
   595     {
       
   596     
       
   597     iIsDoubleClicked = EFalse;
   596     // must pass escape event to dialog - findbox and listbox "eat" escape events
   598     // must pass escape event to dialog - findbox and listbox "eat" escape events
   597     TKeyResponse res = EKeyWasNotConsumed;
   599     TKeyResponse res = EKeyWasNotConsumed;
   598     if ( aType == EEventKey && aKeyEvent.iCode == EKeyEscape )
   600     if ( aType == EEventKey && aKeyEvent.iCode == EKeyEscape )
   599         {
   601         {
   600         res = CAknDialog::OfferKeyEventL( aKeyEvent, aType );
   602         res = CAknDialog::OfferKeyEventL( aKeyEvent, aType );