mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2025-01-26 03:35:30 +00:00
GH-4812 Set placeholder even if the user has changed the name
This commit is contained in:
parent
ec897aee95
commit
ffec1e1930
@ -154,10 +154,10 @@ void NewInstanceDialog::setSuggestedPack(const QString& name, InstanceTask* task
|
||||
creationTask.reset(task);
|
||||
|
||||
defaultInstName = name;
|
||||
ui->instNameTextBox->setPlaceholderText(name);
|
||||
|
||||
if (!instNameChanged)
|
||||
{
|
||||
ui->instNameTextBox->setPlaceholderText(name);
|
||||
ui->instNameTextBox->setText(name);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user