From 964a27ec8d9567f65d863531f6759b650234b9bb Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Mon, 24 Dec 2018 14:34:43 +0100 Subject: Fix a prefs bug --- src/ui/widget/ink-flow-box.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- cgit v1.2.3