fix typo / bad error message
This commit is contained in:
parent
3cbba869ae
commit
b9ba7777d3
1 changed files with 2 additions and 2 deletions
|
@ -816,8 +816,8 @@ void RegionMapEditor::importTileImage(bool city) {
|
|||
int maxAllowedTiles = 0x100;
|
||||
if (totalTiles > maxAllowedTiles) {
|
||||
QString errorMessage = QString("The total number of tiles in the provided image (%1) is greater than the allowed number (%2).")
|
||||
.arg(maxAllowedTiles)
|
||||
.arg(totalTiles);
|
||||
.arg(totalTiles)
|
||||
.arg(maxAllowedTiles);
|
||||
logError(errorMessage);
|
||||
QMessageBox msgBox(this);
|
||||
msgBox.setText("Failed to import tiles.");
|
||||
|
|
Loading…
Reference in a new issue