--- 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();
}
}
}