From 83a91bf9cc7fe3a379d8b0e5b63c653214851768 Mon Sep 17 00:00:00 2001 From: Jon Moroney Date: Mon, 9 Apr 2018 16:13:39 +0200 Subject: Remove calls to refreshSceneBounds --- src/gui/undocommands.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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(); } -- cgit v1.2.3