summaryrefslogtreecommitdiffstats
path: root/src/file.cpp
diff options
context:
space:
mode:
authorGeoff Lankow <geoff@darktrojan.net>2018-05-04 04:05:50 +0000
committerGeoff Lankow <geoff@darktrojan.net>2018-05-04 04:29:07 +0000
commit77fc334fc39f4bb390990be4927a8b18588cf594 (patch)
tree3715b4f1b1a5aa8c9cff56cc33fce70af763c45c /src/file.cpp
parentMerge branch 'master' of gitlab.com:gadic/inkscape (diff)
downloadinkscape-77fc334fc39f4bb390990be4927a8b18588cf594.tar.gz
inkscape-77fc334fc39f4bb390990be4927a8b18588cf594.zip
Add global guide controls to guides panel
Diffstat (limited to 'src/file.cpp')
-rw-r--r--src/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file.cpp b/src/file.cpp
index 06db60765..30a218141 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -282,7 +282,7 @@ bool sp_file_open(const Glib::ustring &uri,
SPNamedView *nv = desktop->namedview;
if (nv->lockguides) {
- desktop->toggleGuidesLock();
+ nv->lockGuides();
}
// Perform a fixup pass for hrefs.
if ( Inkscape::ResourceManager::getManager().fixupBrokenLinks(doc) ) {