idlehomescreen/xmluirendering/uiengine/src/xnfocuscontrol.cpp
branchRCL_3
changeset 47 7be2816dbabd
parent 16 9674c1a575e9
--- a/idlehomescreen/xmluirendering/uiengine/src/xnfocuscontrol.cpp	Tue Apr 27 16:26:12 2010 +0300
+++ b/idlehomescreen/xmluirendering/uiengine/src/xnfocuscontrol.cpp	Tue May 11 16:02:39 2010 +0300
@@ -25,6 +25,7 @@
 #include "xnproperty.h"
 #include "xnappuiadapter.h"
 #include "xnuiengine.h"
+#include "xneditmode.h"
 #include "xnnode.h"
 #include "xninactivitymonitor.h"
 
@@ -165,6 +166,14 @@
 //
 void CXnFocusControl::Draw( const TRect& aRect, CWindowGc& aGc ) const
     {
+    TInt state( iAppUiAdapter.UiEngine().EditMode()->EditState() );
+            
+    // Don't draw focus appearance when shooting dragging widget in edit mode
+    if ( state == CXnEditMode::EShootContent )
+        {
+        return;
+        }
+    
     if ( IsVisible() || iRefused ) 
         {                                       
         CXnNode* node( iAppUiAdapter.UiEngine().FocusedNode() );