minor: added some English comments

This commit is contained in:
plc-user
2025-03-13 21:05:21 +01:00
parent eeb453f120
commit 757df90951
5 changed files with 19 additions and 3 deletions

View File

@@ -1153,7 +1153,7 @@ void DiagramView::editSelection()
QGraphicsItem *item = m_diagram->selectedItems().first();
//We use dynamic_cast instead of qgraphicsitem_cast for QetGraphicsItem
//because they haven't got they own type().
//because they haven't got their own type().
//Use qgraphicsitem_cast will have weird behavior for this class.
if (IndependentTextItem *iti = qgraphicsitem_cast<IndependentTextItem *>(item))
iti -> edit();