Fix formatting variables

This commit is contained in:
Ashley Coleman 2020-11-22 14:30:46 -08:00 committed by huderlem
parent eeadef4734
commit 7ea3dd6468

View file

@ -375,13 +375,13 @@ void Editor::deleteWildMonGroup() {
if (msgBox.clickedButton() == deleteButton) { if (msgBox.clickedButton() == deleteButton) {
auto it = project->wildMonData.find(map->constantName); auto it = project->wildMonData.find(map->constantName);
if (it == project->wildMonData.end()) { if (it == project->wildMonData.end()) {
logError(QString("Failed to find data for map %s. Unable to delete").arg(map->constantName)); logError(QString("Failed to find data for map %1. Unable to delete").arg(map->constantName));
return; return;
} }
int i = project->encounterGroupLabels.indexOf(labelCombo->currentText()); int i = project->encounterGroupLabels.indexOf(labelCombo->currentText());
if (i < 0) { if (i < 0) {
logError(QString("Failed to find selected wild mon group: %s. Unable to delete") logError(QString("Failed to find selected wild mon group: %1. Unable to delete")
.arg(labelCombo->currentText())); .arg(labelCombo->currentText()));
return; return;
} }