diff options
author | Gard Spreemann <gspreemann@gmail.com> | 2019-01-12 08:36:56 +0100 |
---|---|---|
committer | Gard Spreemann <gspreemann@gmail.com> | 2019-01-12 08:36:56 +0100 |
commit | 6bf0bd3d1bce15acded6b83edabbdc329686cd7e (patch) | |
tree | 12569b7d18e006bb52dd72c649d5832e8ff6939a /src/gui/undocommands.cpp | |
parent | 7bf0645fc8c7fd95889b7dca289fb20b4212df85 (diff) | |
parent | 579c8118f8538a7adb8c70e1909734431ecf0d10 (diff) |
Merge tag 'v2.1.1' into debian/sid
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(); } |