wlanutilities/wlansettingsui/src/wlansettingsuimodel.cpp
changeset 2 6e4b6261703d
parent 0 56b72877c1cb
equal deleted inserted replaced
1:d07e190ed096 2:6e4b6261703d
   189             record->iSavedBgScanInterval = iScanNetworks;
   189             record->iSavedBgScanInterval = iScanNetworks;
   190             }
   190             }
   191         }
   191         }
   192 
   192 
   193     record->iWlanPowerMode = iPowerSaving;
   193     record->iWlanPowerMode = iPowerSaving;
       
   194     
       
   195     // Whenever settings are modified, iUseDefaultSettings must be set to false.
       
   196     record->iUseDefaultSettings = EFalse;
       
   197 
   194     record->ModifyL( *iSession );
   198     record->ModifyL( *iSession );
   195         
   199         
   196     CleanupStack::PopAndDestroy( record );        
   200     CleanupStack::PopAndDestroy( record );        
   197     if ( ownTransaction )
   201     if ( ownTransaction )
   198         {
   202         {