mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Move dive list menu entry to top
I guess the Dive list item will be accessed more often than the preferences item, so put it to to. Also remove the "back to" prefix. Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									3a33deeace
								
							
						
					
					
						commit
						bf2db7f673
					
				
					 1 changed files with 8 additions and 8 deletions
				
			
		| 
						 | 
					@ -26,6 +26,14 @@ MobileComponents.ApplicationWindow {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		bannerImageSource: "dive.jpg"
 | 
							bannerImageSource: "dive.jpg"
 | 
				
			||||||
		actions: [
 | 
							actions: [
 | 
				
			||||||
 | 
								Action {
 | 
				
			||||||
 | 
									text: "Dive list"
 | 
				
			||||||
 | 
									onTriggered: {
 | 
				
			||||||
 | 
										for (var i=stackView.depth; i>1; i--) {
 | 
				
			||||||
 | 
											stackView.pop()
 | 
				
			||||||
 | 
										}
 | 
				
			||||||
 | 
									}
 | 
				
			||||||
 | 
								},
 | 
				
			||||||
			Action {
 | 
								Action {
 | 
				
			||||||
				text: "Cloud credentials"
 | 
									text: "Cloud credentials"
 | 
				
			||||||
				onTriggered: {
 | 
									onTriggered: {
 | 
				
			||||||
| 
						 | 
					@ -38,14 +46,6 @@ MobileComponents.ApplicationWindow {
 | 
				
			||||||
					stackView.push(prefsWindow)
 | 
										stackView.push(prefsWindow)
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			},
 | 
								},
 | 
				
			||||||
			Action {
 | 
					 | 
				
			||||||
				text: "Back to Divelist"
 | 
					 | 
				
			||||||
				onTriggered: {
 | 
					 | 
				
			||||||
					for (var i=stackView.depth; i>1; i--) {
 | 
					 | 
				
			||||||
						stackView.pop()
 | 
					 | 
				
			||||||
					}
 | 
					 | 
				
			||||||
				}
 | 
					 | 
				
			||||||
			},
 | 
					 | 
				
			||||||
			MobileComponents.ActionGroup {
 | 
								MobileComponents.ActionGroup {
 | 
				
			||||||
				text: "Manage dives"
 | 
									text: "Manage dives"
 | 
				
			||||||
				Action {
 | 
									Action {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue