mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	mobile/dive-list: try to force focus on filter text field
This was triggered by a change in enabled, but what is really changing is the visible property. This should work better. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									1549d6f528
								
							
						
					
					
						commit
						7bddef02cd
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -416,7 +416,7 @@ Kirigami.ScrollablePage {
 | 
			
		|||
				onAccepted: {
 | 
			
		||||
					manager.setFilter(text, sitefilterMode.currentIndex)
 | 
			
		||||
				}
 | 
			
		||||
				onEnabledChanged: {
 | 
			
		||||
				onVisibleChanged: {
 | 
			
		||||
					// reset the filter when it gets toggled
 | 
			
		||||
					text = ""
 | 
			
		||||
					if (visible) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue