[PATCH] Repair minor bug in CCR setpoint graph
Anton Lundin
glance at acc.umu.se
Thu Jan 8 23:00:03 PST 2015
On 09 January, 2015 - Willem Ferguson wrote:
>
> - if (current_dive && (currentdc->dctype == CCR) && (prefs.show_ccr_setpoint))
> - o2SetpointGasItem->setVisible(true);
> - else
> - o2SetpointGasItem->setVisible(false);
> + o2SetpointGasItem->setVisible(current_dive && (currentdc->dctype == CCR) && prefs.show_ccr_setpoint && prefs.pp_graphs.po2);
> +// o2SetpointGasItem->setVisible(true);
> +// else
> +// o2SetpointGasItem->setVisible(false);
>
Don't leave code commented out. If it's not suppose to be there
any longer, remove it.
//Anton
--
Anton Lundin +46702-161604
More information about the subsurface
mailing list