Fix some typos / confusing text

This commit is contained in:
GriffinR
2024-01-02 12:40:04 -05:00
parent 3a98ba9012
commit 2088a5ec1c
4 changed files with 11 additions and 12 deletions

View File

@@ -609,11 +609,10 @@ QString ProjectSettingsEditor::stripProjectDir(QString s) {
void ProjectSettingsEditor::importDefaultPrefabsClicked(bool) {
// If the prompt is accepted the prefabs file will be created and its filepath will be saved in the config.
// No need to set hasUnsavedChanges here.
BaseGameVersion version = projectConfig.stringToBaseGameVersion(ui->comboBox_BaseGameVersion->currentText());
if (prefab.tryImportDefaultPrefabs(this, version, ui->lineEdit_PrefabsPath->text())) {
ui->lineEdit_PrefabsPath->setText(projectConfig.getPrefabFilepath()); // Refresh with new filepath
this->projectNeedsReload = true;
this->hasUnsavedChanges = true;
}
}