diff options
author | Jon Moroney <darakian@gmail.com> | 2018-04-09 16:13:39 +0200 |
---|---|---|
committer | Jon Moroney <darakian@gmail.com> | 2018-04-09 16:13:39 +0200 |
commit | 83a91bf9cc7fe3a379d8b0e5b63c653214851768 (patch) | |
tree | 489ebe9375ec8d6a5959f935849370a28d3ab594 /src | |
parent | f144fbf42b9e8ff82b237a1be1fb0b906186795d (diff) |
Remove calls to refreshSceneBounds
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/undocommands.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/undocommands.cpp b/src/gui/undocommands.cpp index 4c5d0dc..6d3162c 100644 --- a/src/gui/undocommands.cpp +++ b/src/gui/undocommands.cpp @@ -11,14 +11,16 @@ GraphUpdateCommand::GraphUpdateCommand(TikzScene *scene, QUndoCommand *parent) : void GraphUpdateCommand::undo() { _scene->tikzDocument()->refreshTikz(); - _scene->refreshSceneBounds(); + //refreshSceneBounds does nothing + //_scene->refreshSceneBounds(); _scene->invalidate(); } void GraphUpdateCommand::redo() { _scene->tikzDocument()->refreshTikz(); - _scene->refreshSceneBounds(); + //refreshSceneBounds does nothing + //_scene->refreshSceneBounds(); _scene->invalidate(); } |