mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Change the QDialog for html export to getExistingFolder
The QDialog for html creates a folder, we need to choose a folder, not a file. getSaveFileName was wrong. ;p Fixes #533 Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									c0593662b9
								
							
						
					
					
						commit
						6a9c4097c0
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -176,8 +176,7 @@ void DiveLogExportDialog::on_buttonBox_accepted() | |||
| 		} | ||||
| 		break; | ||||
| 	case 1: | ||||
| 		filename = QFileDialog::getSaveFileName(this, tr("Export Subsurface"), lastDir, | ||||
| 							tr("Folders"), 0, QFileDialog::ShowDirsOnly); | ||||
| 		filename = QFileDialog::getExistingDirectory(this, tr("Export Subsurface"), lastDir); | ||||
| 		if (!filename.isNull() && !filename.isEmpty()) | ||||
| 			exportHtmlInit(filename); | ||||
| 		break; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue