Commit b3ca430c authored by Claudio Valerio's avatar Claudio Valerio

redo problem fixed. Issue 83

parent e51b5dcc
......@@ -157,7 +157,7 @@ void UBGraphicsItemUndoCommand::undo()
}
/*void UBGraphicsItemUndoCommand::redo()
void UBGraphicsItemUndoCommand::redo()
{
// the Undo framework calls a redo while appending the undo command.
// as we have already plotted the elements, we do not want to do it twice
......@@ -236,4 +236,3 @@ void UBGraphicsItemUndoCommand::undo()
mFirstRedo = false;
}
}
*/
......@@ -52,7 +52,7 @@ class UBGraphicsItemUndoCommand : public UBUndoCommand
protected:
virtual void undo();
//virtual void redo();
virtual void redo();
private:
UBGraphicsScene* mScene;
......
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