emit operationsChanged signal each time an operation is pushed even if it's
merged with an existing operation: the merge may have caused an existing operation to change in a way that needs reflecting in the GUI (e.g. a NewOperation now has a different FileSystem) svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1106847
This commit is contained in:
parent
b28a66bc3f
commit
972a8e4fd0
|
@ -398,8 +398,11 @@ void OperationStack::push(Operation* o)
|
|||
operations().append(o);
|
||||
o->preview();
|
||||
o->setStatus(Operation::StatusPending);
|
||||
emit operationsChanged();
|
||||
}
|
||||
|
||||
// emit operationsChanged even if o is NULL because it has been merged: merging might
|
||||
// have led to an existing operation changing.
|
||||
emit operationsChanged();
|
||||
}
|
||||
|
||||
/** Removes the topmost Operation from the OperationStack, calls Operation::undo() on it and deletes it. */
|
||||
|
|
Loading…
Reference in New Issue