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 GitHub
parent 0217cf253d
commit 517903dafa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -439,7 +439,7 @@ InstPropertiesPage::create_applicator (db::Cell & /*cell*/, const db::Instance &
appl->add (new ChangeTargetCellApplicator (inst_cell_index));
}
} catch (tl::Exception &ex) {
} catch (tl::Exception &) {
has_pcell_error = true;
}

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";
}
}