mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Mobile: reset dive list after applying GPS fixes
This way new fixes are actually shown when the user looks at the dive list after applying the GPS fixes. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									e03d3ac5d6
								
							
						
					
					
						commit
						dc5f22d047
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -288,7 +288,10 @@ Kirigami.ApplicationWindow {
 | 
			
		|||
					}
 | 
			
		||||
					text: qsTr("Apply GPS fixes")
 | 
			
		||||
					onTriggered: {
 | 
			
		||||
						manager.applyGpsData();
 | 
			
		||||
						manager.applyGpsData()
 | 
			
		||||
						globalDrawer.close()
 | 
			
		||||
						diveModel.resetInternalData()
 | 
			
		||||
						manager.refreshDiveList()
 | 
			
		||||
					}
 | 
			
		||||
				}
 | 
			
		||||
				Kirigami.Action {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue