profilesservices/MediaFileList/Src/mediafiledialog.cpp
branchRCL_3
changeset 16 8fcb49b86877
parent 13 f392bfb21e08
child 17 3b47783fdf16
--- a/profilesservices/MediaFileList/Src/mediafiledialog.cpp	Tue Apr 27 16:56:32 2010 +0300
+++ b/profilesservices/MediaFileList/Src/mediafiledialog.cpp	Tue May 11 16:28:56 2010 +0300
@@ -3096,14 +3096,14 @@
 
     if ( aEventType == EEventItemDoubleClicked || aEventType == EEventEnterKeyPressed )
         {
+        iIsDoubleClicked = ETrue;
         TBool closeDialog = HandleOKL( EAttrDoubleClicked );
         
         if ( closeDialog )
             {
             // close after short delay (dialog cannot be closed from this function)
             CloseDialogWithDelayL();
-            }
-        iIsDoubleClicked = ETrue;
+            }        
         }
     if ( aEventType == EEventItemDraggingActioned )
     	{