browserutilities/browserdialogsprovider/Src/BrowserViewImagesPopup.cpp
changeset 28 d39add9822e2
parent 26 cb62a4f66ebe
child 48 79859ed3eea9
--- a/browserutilities/browserdialogsprovider/Src/BrowserViewImagesPopup.cpp	Mon Jan 18 21:20:18 2010 +0200
+++ b/browserutilities/browserdialogsprovider/Src/BrowserViewImagesPopup.cpp	Tue Feb 02 00:56:45 2010 +0200
@@ -19,6 +19,7 @@
 
 
 // USER INCLUDES
+#include <browser_platform_variant.hrh>
 #include <browserdialogsprovider.h>
 #include "BrowserDialogsProvider.hrh"
 #include "BrowserViewImagesPopup.h"
@@ -140,7 +141,11 @@
 void CBrowserViewImagesPopup::HandleListBoxEventL( CEikListBox* aListBox, 
                                                     TListBoxEvent aEventType )
     {
-    if((aEventType==EEventEnterKeyPressed || aEventType==EEventItemDoubleClicked) && aListBox==ListBox())
+#ifdef BRDO_SINGLE_CLICK_ENABLED_FF      
+    if((aEventType==EEventEnterKeyPressed || aEventType==EEventItemDoubleClicked || aEventType==EEventItemSingleClicked) && aListBox==ListBox())
+#else
+    if((aEventType==EEventEnterKeyPressed || aEventType==EEventItemDoubleClicked ) && aListBox==ListBox())
+#endif        
         {
         ProcessCommandL( EDialogsProviderCmdViewImagesView );
         }