redo problem fixed. Issue 83

preferencesAboutTextFull
Claudio Valerio 11 years ago
parent e51b5dccae
commit b3ca430c4a
  1. 3
      src/domain/UBGraphicsItemUndoCommand.cpp
  2. 2
      src/domain/UBGraphicsItemUndoCommand.h

@ -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;

Loading…
Cancel
Save