diff --git a/application/dialogs/NewInstanceDialog.cpp b/application/dialogs/NewInstanceDialog.cpp index 658302a8..0360f5f1 100644 --- a/application/dialogs/NewInstanceDialog.cpp +++ b/application/dialogs/NewInstanceDialog.cpp @@ -112,7 +112,7 @@ void NewInstanceDialog::updateDialogState() { auto url = QUrl::fromUserInput(ui->modpackEdit->text()); QFileInfo fi(url.fileName()); - suggestedName = fi.baseName(); + suggestedName = fi.completeBaseName(); } if(suggestedName.isEmpty()) {