mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 09:59:59 +03:00
GH-2050 fix cancel button in file browse dialogs filling text fields
This commit is contained in:
parent
95e6f37d39
commit
4bae6fe491
7 changed files with 19 additions and 22 deletions
|
|
@ -263,7 +263,7 @@ void JavaWizardPage::on_javaBrowseBtn_clicked()
|
|||
filter = "Java (java)";
|
||||
#endif
|
||||
QString raw_path = QFileDialog::getOpenFileName(this, tr("Find Java executable"), QString(), filter);
|
||||
if(raw_path.isNull())
|
||||
if(raw_path.isEmpty())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue