mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Planner: Re-enable using the new profile.
This correctly enables the planner on the new profile, but it doesn't triggers the correct paint on the canvas. [Dirk Hohndel: remove other remnants of the disabled planner as well] Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									d1366257f0
								
							
						
					
					
						commit
						feff22c222
					
				
					 9 changed files with 13 additions and 34 deletions
				
			
		|  | @ -215,9 +215,7 @@ DivePlannerWidget::DivePlannerWidget(QWidget *parent, Qt::WindowFlags f) : QWidg | |||
| 	QTableView *view = ui.cylinderTableWidget->view(); | ||||
| 	view->setColumnHidden(CylindersModel::START, true); | ||||
| 	view->setColumnHidden(CylindersModel::END, true); | ||||
| #ifdef ENABLE_PLANNER | ||||
| 	view->setColumnHidden(CylindersModel::DEPTH, false); | ||||
| #endif | ||||
| 	view->setItemDelegateForColumn(CylindersModel::TYPE, new TankInfoDelegate(this)); | ||||
| 	connect(ui.cylinderTableWidget, SIGNAL(addButtonClicked()), DivePlannerPointsModel::instance(), SLOT(addCylinder_clicked())); | ||||
| 	connect(ui.tableWidget, SIGNAL(addButtonClicked()), DivePlannerPointsModel::instance(), SLOT(addStop())); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue