Commit 2f7bcfe1 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Corrected clear() method of the undo stack

parent b119862e
......@@ -52,5 +52,5 @@ void UndoStack::push( QUndoCommand* command )
void UndoStack::clear()
{
m_undoStack->setIndex( 0 );
m_undoStack->clear();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment