mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	While editing the coordinates we need to compare to the displayed_dive
Comparing to the master dive only made sense when we immediately modified a dive. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									de9acbd30d
								
							
						
					
					
						commit
						1b3c776358
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1178,7 +1178,7 @@ void MainTab::on_coordinates_textChanged(const QString &text) | |||
| 	bool parsed = false; | ||||
| 	QPalette p; | ||||
| 	ui.coordinates->setPalette(p); // reset palette
 | ||||
| 	gpsChanged = gpsHasChanged(&displayed_dive, current_dive, text, &parsed); | ||||
| 	gpsChanged = gpsHasChanged(&displayed_dive, &displayed_dive, text, &parsed); | ||||
| 	if (gpsChanged) | ||||
| 		markChangedWidget(ui.coordinates); // marks things yellow
 | ||||
| 	if (!parsed) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue