Fixed #647 (text orientation not working on search & replace) (#684)

* Fixed a compiler warning

* Fixed #647 (search & replace not working for text rotation)
This commit is contained in:
Matthias Köfferlein 2020-11-25 21:29:40 +01:00 committed by Matthias Koefferlein
parent 395a6e3905
commit 2c5e90c323
1 changed files with 2 additions and 1 deletions

View File

@ -200,7 +200,7 @@ add_orientation_condition (std::string &expr, QComboBox *op, QComboBox *value, c
expr += attribute;
expr += " ";
expr += tl::to_string (op->currentText ());
expr += " Trans." + v;
expr += " Trans." + v + ".rot";
}
}
@ -308,6 +308,7 @@ add_orientation_assignment (std::string &expr, QComboBox *value, const char *att
expr += attribute;
expr += " = Trans.";
expr += v;
expr += ".rot";
}
}