mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-29 09:15:49 +00:00
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