From 97da1a1e32d81e401f13c46e5eef6f090c587995 Mon Sep 17 00:00:00 2001 From: Alvin Penner Date: Tue, 1 Jan 2013 16:07:39 -0500 Subject: zoom to entire drawing after delete (Bug 970370) Fixed bugs: - https://launchpad.net/bugs/970370 (bzr r12006) --- src/desktop.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/desktop.cpp') 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 -- cgit v1.2.3