mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Zoom out when dive has no coords.
This patch makes the globe zoom out to show it complete when the dive has no coordinates. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									010a21fb1e
								
							
						
					
					
						commit
						83c5ab5871
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -241,6 +241,9 @@ void GlobeGPS::prepareForGetDiveCoordinates() | ||||||
| 		messageWidget->setWordWrap(true); | 		messageWidget->setWordWrap(true); | ||||||
| 		messageWidget->animatedShow(); | 		messageWidget->animatedShow(); | ||||||
| 		editingDiveLocation = true; | 		editingDiveLocation = true; | ||||||
|  | 		if(fixZoomTimer->isActive()) | ||||||
|  | 			fixZoomTimer->stop(); | ||||||
|  | 		setZoom(1200, Marble::Automatic); | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue