summaryrefslogtreecommitdiffstats
path: root/src/file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/file.cpp')
-rw-r--r--src/file.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/file.cpp b/src/file.cpp
index 320016a41..e5caaaca0 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -272,6 +272,11 @@ bool sp_file_open(const Glib::ustring &uri,
}
if ( INKSCAPE.use_gui() ) {
+
+ SPNamedView *nv = desktop->namedview;
+ if (nv->lockguides) {
+ desktop->toggleGuidesLock();
+ }
// Perform a fixup pass for hrefs.
if ( Inkscape::ResourceManager::getManager().fixupBrokenLinks(doc) ) {
Glib::ustring msg = _("Broken links have been changed to point to existing files.");