No, this setting does not override the quota set in the control panel. The control panel quota is independent of the webmail interface.
In fact, the quota indicator which is displayed in the webmail interface is just an indicator reference - it is not actually considered as part of the system settings.