mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-06 03:04:13 +02:00
Fix jump to element search.
This commit is contained in:
@@ -268,7 +268,7 @@ void PasteDiagramCommand::redo()
|
||||
const DiagramContext &info = e->elementInformations();
|
||||
if (e->linkType() == Element::Slave || (e->linkType() & Element::AllReport)
|
||||
|| info.value(QETInformation::ELMT_FORMULA).toString().isEmpty()
|
||||
|| !project->elementAutoNumTitle(QUuid(info.value(QETInformation::ELMT_FORMULA_ID).toString())).isEmpty()
|
||||
|| !ElementAutoNumSchemeCommand::followedScheme(project, info).isEmpty()
|
||||
|| pasted_schemes_has(pasted_schemes, e)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user