Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
b3ca430c
Commit
b3ca430c
authored
Aug 08, 2013
by
Claudio Valerio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
redo problem fixed. Issue 83
parent
e51b5dcc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
UBGraphicsItemUndoCommand.cpp
src/domain/UBGraphicsItemUndoCommand.cpp
+1
-2
UBGraphicsItemUndoCommand.h
src/domain/UBGraphicsItemUndoCommand.h
+1
-1
No files found.
src/domain/UBGraphicsItemUndoCommand.cpp
View file @
b3ca430c
...
...
@@ -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
;
}
}
*/
src/domain/UBGraphicsItemUndoCommand.h
View file @
b3ca430c
...
...
@@ -52,7 +52,7 @@ class UBGraphicsItemUndoCommand : public UBUndoCommand
protected
:
virtual
void
undo
();
//
virtual void redo();
virtual
void
redo
();
private
:
UBGraphicsScene
*
mScene
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment