mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 18:09: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
|
|
@ -388,7 +388,7 @@ bool ExportInstanceDialog::doExport()
|
|||
const QString output = QFileDialog::getSaveFileName(
|
||||
this, tr("Export %1").arg(m_instance->name()),
|
||||
FS::PathCombine(QDir::homePath(), name + ".zip"), "Zip (*.zip)", nullptr, QFileDialog::DontConfirmOverwrite);
|
||||
if (output.isNull())
|
||||
if (output.isEmpty())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue