diff --git a/src/lay/lay/laySearchReplacePropertiesWidgets.cc b/src/lay/lay/laySearchReplacePropertiesWidgets.cc index 79c9d1c00..ed757ba06 100644 --- a/src/lay/lay/laySearchReplacePropertiesWidgets.cc +++ b/src/lay/lay/laySearchReplacePropertiesWidgets.cc @@ -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"; } }