show terminalnames in export

This commit is contained in:
Kellermorph
2026-08-06 12:48:11 +02:00
parent c1551c7477
commit 979df376d1
2 changed files with 16 additions and 13 deletions
+2 -1
View File
@@ -2397,9 +2397,10 @@ QPointF Diagram::snapToGrid(const QPointF &p)
\~French true pour afficher les bornes, false sinon
*/
void Diagram::setDrawTerminals(bool dt) {
draw_terminals_ = dt;
foreach(QGraphicsItem *qgi, items()) {
if (Terminal *t = qgraphicsitem_cast<Terminal *>(qgi)) {
t -> setVisible(dt);
t -> update();
}
}
}