NOISSUE use whole zip base filename for default instance name
This commit is contained in:
parent
ec3472f21d
commit
38901ed21d
@ -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())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user