mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +01:00
Removing the posibility to call html editor on the text conductor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2084 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -1144,9 +1144,7 @@ void DiagramView::editText() {
|
|||||||
// Get text to edit
|
// Get text to edit
|
||||||
QList<DiagramTextItem *> texts_to_edit;
|
QList<DiagramTextItem *> texts_to_edit;
|
||||||
foreach (QGraphicsItem *item, scene -> selectedItems()) {
|
foreach (QGraphicsItem *item, scene -> selectedItems()) {
|
||||||
if (ConductorTextItem *cti = qgraphicsitem_cast<ConductorTextItem *>(item)) {
|
if (IndependentTextItem *iti = qgraphicsitem_cast<IndependentTextItem *>(item)) {
|
||||||
texts_to_edit << cti;
|
|
||||||
} else if (IndependentTextItem *iti = qgraphicsitem_cast<IndependentTextItem *>(item)) {
|
|
||||||
texts_to_edit << iti;
|
texts_to_edit << iti;
|
||||||
} else if (ElementTextItem *eti = qgraphicsitem_cast<ElementTextItem *>(item)) {
|
} else if (ElementTextItem *eti = qgraphicsitem_cast<ElementTextItem *>(item)) {
|
||||||
// here...
|
// here...
|
||||||
|
|||||||
Reference in New Issue
Block a user