[qet] [3947] forget file from previous comit |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 3947
Author: blacksun
Date: 2015-05-09 13:39:44 +0200 (Sat, 09 May 2015)
Log Message:
-----------
forget file from previous comit
Modified Paths:
--------------
trunk/sources/ui/elementpropertieswidget.cpp
Modified: trunk/sources/ui/elementpropertieswidget.cpp
===================================================================
--- trunk/sources/ui/elementpropertieswidget.cpp 2015-05-09 11:35:00 UTC (rev 3946)
+++ trunk/sources/ui/elementpropertieswidget.cpp 2015-05-09 11:39:44 UTC (rev 3947)
@@ -54,8 +54,8 @@
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 @@
stack.beginMacro(str);
foreach(QUndoCommand *uc, undo_list) stack.push(uc);
stack.endMacro();
+
+ foreach(PropertiesEditorWidget *pew, m_list_editor)
+ pew->updateUi();
}
/**