From 2c5e90c3238c287321a80058b5dbbcbf8569fe7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20K=C3=B6fferlein?= Date: Wed, 25 Nov 2020 21:29:40 +0100 Subject: [PATCH] Fixed #647 (text orientation not working on search & replace) (#684) * Fixed a compiler warning * Fixed #647 (search & replace not working for text rotation) --- src/lay/lay/laySearchReplacePropertiesWidgets.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"; } }