Fix formatting variables
This commit is contained in:
parent
eeadef4734
commit
7ea3dd6468
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue