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