mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-09-02 21:19:25 +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);
|
creationTask.reset(task);
|
||||||
|
|
||||||
defaultInstName = name;
|
defaultInstName = name;
|
||||||
|
ui->instNameTextBox->setPlaceholderText(name);
|
||||||
|
|
||||||
if (!instNameChanged)
|
if (!instNameChanged)
|
||||||
{
|
{
|
||||||
ui->instNameTextBox->setPlaceholderText(name);
|
|
||||||
ui->instNameTextBox->setText(name);
|
ui->instNameTextBox->setText(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user