webengine/wrtharvester/src/wrtharvesterpsnotifier.cpp
changeset 42 d39add9822e2
parent 37 cb62a4f66ebe
child 59 1f3c3f2f5b0a
child 65 5bfc169077b2
--- a/webengine/wrtharvester/src/wrtharvesterpsnotifier.cpp	Mon Jan 18 21:20:18 2010 +0200
+++ b/webengine/wrtharvester/src/wrtharvesterpsnotifier.cpp	Tue Feb 02 00:56:45 2010 +0200
@@ -154,12 +154,15 @@
             }        
         else if( iKey == EWidgetRegAltered && value == 1 )
             {
-            if(!iHarvester->CanAccessRegistry())
-                {                
-                iHarvester->SetMSMode(0);
-                iHarvester->SetRegistryAccess(ETrue);
+            if(iHarvester->IsInMSMode())
+                {
+                iHarvester->SetRegistryAccess(EFalse);
                 }
-             iHarvester->UpdateL();
+            else
+            	{
+            	iHarvester->SetRegistryAccess(ETrue);
+                } 	
+            iHarvester->UpdateL();
             }
         }
     }