Merge branch 'patch-1' of git://github.com/iarspider/MultiMC5 into develop
This commit is contained in:
commit
4ee1900201
@ -386,7 +386,7 @@ bool ExportInstanceDialog::doExport()
|
|||||||
|
|
||||||
const QString output = QFileDialog::getSaveFileName(
|
const QString output = QFileDialog::getSaveFileName(
|
||||||
this, tr("Export %1").arg(m_instance->name()),
|
this, tr("Export %1").arg(m_instance->name()),
|
||||||
FS::PathCombine(QDir::homePath(), name + ".zip"), "Zip (*.zip)");
|
FS::PathCombine(QDir::homePath(), name + ".zip"), "Zip (*.zip)", nullptr, QFileDialog::DontConfirmOverwrite);
|
||||||
if (output.isNull())
|
if (output.isNull())
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user