mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	dumping_dialog: Prompt when path is empty
This commit is contained in:
		
							parent
							
								
									8868d4db86
								
							
						
					
					
						commit
						c9c26955d2
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -17,6 +17,10 @@ DumpingDialog::DumpingDialog(QWidget* parent) | ||||||
| 
 | 
 | ||||||
|     connect(ui->pathExplore, &QToolButton::clicked, this, &DumpingDialog::OnToolButtonClicked); |     connect(ui->pathExplore, &QToolButton::clicked, this, &DumpingDialog::OnToolButtonClicked); | ||||||
|     connect(ui->buttonBox, &QDialogButtonBox::accepted, [this] { |     connect(ui->buttonBox, &QDialogButtonBox::accepted, [this] { | ||||||
|  |         if (ui->pathLineEdit->text().isEmpty()) { | ||||||
|  |             QMessageBox::critical(this, tr("Citra"), tr("Please specify the output path.")); | ||||||
|  |             return; | ||||||
|  |         } | ||||||
|         ApplyConfiguration(); |         ApplyConfiguration(); | ||||||
|         accept(); |         accept(); | ||||||
|     }); |     }); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue