mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	mobile: fix implementation of menu back feature
With the updates to Kirigami I slightly modified the hack that we use to implement that, as a result we call pop() directly on the globalDrawer. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									24bb4d7677
								
							
						
					
					
						commit
						241d6105c0
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -271,7 +271,7 @@ Kirigami.ApplicationWindow {
 | 
			
		|||
						name: ":/go-previous-symbolic"
 | 
			
		||||
					}
 | 
			
		||||
					text: qsTr("Back")
 | 
			
		||||
					onTriggered: globalDrawer.scrollViewItem.pop()
 | 
			
		||||
					onTriggered: globalDrawer.pop()
 | 
			
		||||
				}
 | 
			
		||||
				Kirigami.Action {
 | 
			
		||||
					icon {
 | 
			
		||||
| 
						 | 
				
			
			@ -380,7 +380,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
 | 
			
		|||
						name: ":/go-previous-symbolic"
 | 
			
		||||
					}
 | 
			
		||||
					text: qsTr("Back")
 | 
			
		||||
					onTriggered: globalDrawer.scrollViewItem.pop()
 | 
			
		||||
					onTriggered: globalDrawer.pop()
 | 
			
		||||
				}
 | 
			
		||||
				Kirigami.Action {
 | 
			
		||||
					icon {
 | 
			
		||||
| 
						 | 
				
			
			@ -453,7 +453,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
 | 
			
		|||
						name: ":/go-previous-symbolic"
 | 
			
		||||
					}
 | 
			
		||||
					text: qsTr("Back")
 | 
			
		||||
					onTriggered: globalDrawer.scrollViewItem.pop()
 | 
			
		||||
					onTriggered: globalDrawer.pop()
 | 
			
		||||
				}
 | 
			
		||||
				Kirigami.Action {
 | 
			
		||||
					icon {
 | 
			
		||||
| 
						 | 
				
			
			@ -511,7 +511,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
 | 
			
		|||
						name: ":/go-previous-symbolic"
 | 
			
		||||
					}
 | 
			
		||||
					text: qsTr("Back")
 | 
			
		||||
					onTriggered: globalDrawer.scrollViewItem.pop()
 | 
			
		||||
					onTriggered: globalDrawer.pop()
 | 
			
		||||
				}
 | 
			
		||||
				Kirigami.Action {
 | 
			
		||||
					text: qsTr("App log")
 | 
			
		||||
| 
						 | 
				
			
			@ -570,7 +570,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
 | 
			
		|||
							name: ":/go-previous-symbolic"
 | 
			
		||||
						}
 | 
			
		||||
						text: qsTr("Back")
 | 
			
		||||
						onTriggered: globalDrawer.scrollViewItem.pop()
 | 
			
		||||
						onTriggered: globalDrawer.pop()
 | 
			
		||||
					}
 | 
			
		||||
					Kirigami.Action {
 | 
			
		||||
						text: qsTr("Setup")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue