forget file from previous comit

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3947 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2015-05-09 11:39:44 +00:00
parent f061015a17
commit 219ef71de8

View File

@@ -54,8 +54,8 @@ void ElementPropertiesWidget::apply()
QList <QUndoCommand *> undo_list;
foreach (PropertiesEditorWidget *pew, m_list_editor)
if (pew->associatedUndo())
undo_list << pew->associatedUndo();
if (QUndoCommand *undo = pew->associatedUndo())
undo_list << undo;
if (undo_list.isEmpty()) return;
@@ -66,6 +66,9 @@ void ElementPropertiesWidget::apply()
stack.beginMacro(str);
foreach(QUndoCommand *uc, undo_list) stack.push(uc);
stack.endMacro();
foreach(PropertiesEditorWidget *pew, m_list_editor)
pew->updateUi();
}
/**