mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-10-03 16:51:30 +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);
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user