We signal a bailout to OC via setting the setpoint to zero. A setpoint
between 0.2 and 0 would be really wierd, but i couldn't figure out any
better way to keep the bailout deco planning.

Note:
The gas consumption of CCR dives are plain wrong, but this atleast lets
you plan your deco for a CCR bailout plan.

Signed-off-by: Anton Lundin <[email protected]>
---
 qt-ui/diveplanner.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp
index d98ac59..1d0b278 100644
--- a/qt-ui/diveplanner.cpp
+++ b/qt-ui/diveplanner.cpp
@@ -293,7 +293,7 @@ DivePlannerWidget::DivePlannerWidget(QWidget *parent, 
Qt::WindowFlags f) : QWidg
        
ui.tableWidget->view()->setItemDelegateForColumn(DivePlannerPointsModel::DEPTH, 
new SpinBoxDelegate(0, INT_MAX, 1, this));
        
ui.tableWidget->view()->setItemDelegateForColumn(DivePlannerPointsModel::RUNTIME,
 new SpinBoxDelegate(0, INT_MAX, 1, this));
        
ui.tableWidget->view()->setItemDelegateForColumn(DivePlannerPointsModel::DURATION,
 new SpinBoxDelegate(0, INT_MAX, 1, this));
-       
ui.tableWidget->view()->setItemDelegateForColumn(DivePlannerPointsModel::CCSETPOINT,
 new DoubleSpinBoxDelegate(0.2, 2, 0.1, this));
+       
ui.tableWidget->view()->setItemDelegateForColumn(DivePlannerPointsModel::CCSETPOINT,
 new DoubleSpinBoxDelegate(0, 2, 0.1, this));
 
        /* set defaults. */
        ui.ATMPressure->setValue(1013);
-- 
1.9.1

_______________________________________________
subsurface mailing list
[email protected]
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to