summaryrefslogtreecommitdiffstats
path: root/src/desktop.cpp
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2013-01-01 21:07:39 +0000
committerapenner <penner@vaxxine.com>2013-01-01 21:07:39 +0000
commit97da1a1e32d81e401f13c46e5eef6f090c587995 (patch)
tree557c5d443cfa1f275586aea7927fac6c142835e8 /src/desktop.cpp
parentclip path visual bbox refresh, second try (Bug 1005085) (diff)
downloadinkscape-97da1a1e32d81e401f13c46e5eef6f090c587995.tar.gz
inkscape-97da1a1e32d81e401f13c46e5eef6f090c587995.zip
zoom to entire drawing after delete (Bug 970370)
Fixed bugs: - https://launchpad.net/bugs/970370 (bzr r12006)
Diffstat (limited to 'src/desktop.cpp')
-rw-r--r--src/desktop.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/desktop.cpp b/src/desktop.cpp
index 2f8f3e4b6..a3f607913 100644
--- a/src/desktop.cpp
+++ b/src/desktop.cpp
@@ -1139,6 +1139,7 @@ SPDesktop::zoom_drawing()
SPItem *docitem = doc()->getRoot();
g_return_if_fail (docitem != NULL);
+ docitem->bbox_valid = FALSE;
Geom::OptRect d = docitem->desktopVisualBounds();
/* Note that the second condition here indicates that