mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Revert r5449 and disable r5452 momentary : Load time from elements is
very slow git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5461 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -100,7 +100,7 @@ void QPropertyUndoCommand::setAnimated(bool animate, bool first_time)
|
||||
bool QPropertyUndoCommand::mergeWith(const QUndoCommand *other)
|
||||
{
|
||||
if (id() != other->id() || other->childCount()) return false;
|
||||
auto const *undo = static_cast<const QPropertyUndoCommand *>(other);
|
||||
QPropertyUndoCommand const *undo = static_cast<const QPropertyUndoCommand *>(other);
|
||||
if (m_object != undo->m_object || m_property_name != undo->m_property_name) return false;
|
||||
m_new_value = undo->m_new_value;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user