diff options
Diffstat (limited to 'application')
-rw-r--r-- | application/dialogs/NewInstanceDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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()) { |