mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Import: fix erroneous flag
In 891fcbf520 boolean parameters were
replaced by flags. Fix an error in this commit: IMPORT_IS_DOWNLOADED
should be IMPORT_PREFER_IMPORTED.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
			
			
This commit is contained in:
		
							parent
							
								
									8fa156eb0d
								
							
						
					
					
						commit
						0f87a7073b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -518,7 +518,7 @@ void DownloadFromDCWidget::on_ok_clicked() | |||
| 		auto data = thread.data(); | ||||
| 		int flags = IMPORT_IS_DOWNLOADED; | ||||
| 		if (preferDownloaded()) | ||||
| 			flags |= IMPORT_IS_DOWNLOADED; | ||||
| 			flags |= IMPORT_PREFER_IMPORTED; | ||||
| 		if (ui.createNewTrip->isChecked()) | ||||
| 			flags |= IMPORT_ADD_TO_NEW_TRIP; | ||||
| 		Command::importDives(table, nullptr, flags, data->devName()); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue