diff options
Diffstat (limited to 'src/gui/undocommands.cpp')
-rw-r--r-- | src/gui/undocommands.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/undocommands.cpp b/src/gui/undocommands.cpp index 8a00536..82b9455 100644 --- a/src/gui/undocommands.cpp +++ b/src/gui/undocommands.cpp @@ -29,16 +29,14 @@ GraphUpdateCommand::GraphUpdateCommand(TikzScene *scene, QUndoCommand *parent) : void GraphUpdateCommand::undo() { _scene->tikzDocument()->refreshTikz(); - //refreshSceneBounds does nothing - //_scene->refreshSceneBounds(); + _scene->refreshSceneBounds(); _scene->invalidate(); } void GraphUpdateCommand::redo() { _scene->tikzDocument()->refreshTikz(); - //refreshSceneBounds does nothing - //_scene->refreshSceneBounds(); + _scene->refreshSceneBounds(); _scene->invalidate(); } |