mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-10-03 08:41:42 +00:00
GH-4812 Set placeholder even if the user has changed the name
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user