mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
minor: added some English comments
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user