mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Texts group can be removed with the delete key of keybord
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5142 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -452,7 +452,7 @@ QUndoCommand *DynamicElementTextModel::undoForEditedText(DynamicElementTextItem
|
||||
quc->setText(tr("Modifier la couleur d'un texte d'élément"));
|
||||
}
|
||||
|
||||
bool frame = text_qsi->child(4,1)->checkState() == Qt::Checked? frame=true : frame=false;
|
||||
bool frame = text_qsi->child(4,1)->checkState() == Qt::Checked? true : false;
|
||||
if(frame != deti->frame())
|
||||
{
|
||||
QUndoCommand *quc = new QPropertyUndoCommand(deti, "frame", QVariant(deti->frame()), QVariant(frame), undo);
|
||||
|
||||
Reference in New Issue
Block a user