summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/ink-flow-box.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2018-12-24 13:34:43 +0000
committerJabiertxof <jabier.arraiza@marker.es>2018-12-26 11:46:56 +0000
commit964a27ec8d9567f65d863531f6759b650234b9bb (patch)
treeeb16dbc669e8bbcdd301f6ea4788535eacae1eb7 /src/ui/widget/ink-flow-box.cpp
parentAdd inkFlowBox widget and apply to XML inspector (diff)
downloadinkscape-964a27ec8d9567f65d863531f6759b650234b9bb.tar.gz
inkscape-964a27ec8d9567f65d863531f6759b650234b9bb.zip
Fix a prefs bug
Diffstat (limited to 'src/ui/widget/ink-flow-box.cpp')
-rw-r--r--src/ui/widget/ink-flow-box.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widget/ink-flow-box.cpp b/src/ui/widget/ink-flow-box.cpp
index b96c922cf..d4761b688 100644
--- a/src/ui/widget/ink-flow-box.cpp
+++ b/src/ui/widget/ink-flow-box.cpp
@@ -33,7 +33,7 @@ InkFlowBox::InkFlowBox(const gchar * name)
Gtk::ToggleButton *tbutton = new Gtk::ToggleButton("", false);
tbutton->set_always_show_image(true);
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
- tbutton->set_active(prefs->getBool(Glib::ustring("/dialogs/") + get_name() + Glib::ustring("/flowbox/lock/"), true));
+ tbutton->set_active(prefs->getBool(Glib::ustring("/dialogs/") + get_name() + Glib::ustring("/flowbox/lock"), true));
Glib::ustring iconname = "object-unlocked";
if(tbutton->get_active()) {
iconname = "object-locked";