mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Make compute waypoints content uneditable
Currently user can edit content in compute waypoints table (in PLAN mode), ofcourse this does not trigger any calculations in the code, but user cannot see the content he needs to see after edit. This patch makes the content uneditable. Signed-off-by: Lakshman Anumolu <acrlakshman@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									c6ceab4fec
								
							
						
					
					
						commit
						b629905ec5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -115,7 +115,7 @@ QVariant DivePlannerDisplay::headerData(int section, Qt::Orientation orientation | |||
| 
 | ||||
| Qt::ItemFlags DivePlannerDisplay::flags(const QModelIndex &index) const | ||||
| { | ||||
| 	return QAbstractItemModel::flags(index) | Qt::ItemIsEditable; | ||||
| 	return QAbstractItemModel::flags(index); | ||||
| } | ||||
| 
 | ||||
| int DivePlannerDisplay::rowCount(const QModelIndex &parent) const | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue