mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	DC download: don't clear message if no dives downloaded
Otherwise the text telling the user that no new dives were found will be deleted right away. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									731d9dc9bd
								
							
						
					
					
						commit
						605400a029
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -165,7 +165,8 @@ void DownloadFromDCWidget::updateState(states state) | |||
| 			markChildrenAsEnabled(); | ||||
| 			progress_bar_text = ""; | ||||
| 		} else { | ||||
| 			progress_bar_text = ""; | ||||
| 			if (downloadTable.nr != 0) | ||||
| 				progress_bar_text = ""; | ||||
| 			ui.progressBar->setValue(100); | ||||
| 			markChildrenAsEnabled(); | ||||
| 		} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue