summaryrefslogtreecommitdiff
path: root/src/gui/undocommands.cpp
diff options
context:
space:
mode:
authorAleks Kissinger <aleks0@gmail.com>2018-04-10 07:59:22 +0200
committerGitHub <noreply@github.com>2018-04-10 07:59:22 +0200
commit541a46635804937e57db049a7b59bd9d7fd52c6c (patch)
tree6172fb255e1dacbcd0250b5aa674be18030cad11 /src/gui/undocommands.cpp
parent075a94d502020a7056dfa8fa1a4ba500378efe31 (diff)
parent8b9fa72d80cde6dc54ea2105aa9295af733b643f (diff)
Merge pull request #13 from darakian/qt
misc fixes
Diffstat (limited to 'src/gui/undocommands.cpp')
-rw-r--r--src/gui/undocommands.cpp6
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();
}