mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-10-03 19:14:40 -04:00
GH-2050 fix cancel button in file browse dialogs filling text fields
This commit is contained in:
1 parent
95e6f37d39
commit
4bae6fe491
7 files changed
+19
-22
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user