Commit 5a0eb79c authored by Jabier Arraiza's avatar Jabier Arraiza

Fix pos on toggle

parent 7f807ee6
Pipeline #65528241 passed with stages
in 118 minutes and 45 seconds
......@@ -388,6 +388,7 @@ void SelectorsDialog::_toggleDirection()
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
bool dir = !prefs->getBool("/dialogs/selectors/updown", true);
prefs->setBool("/dialogs/selectors/updown", dir);
_paned.set_position(-1);
_paned.set_orientation(dir ? Gtk::ORIENTATION_VERTICAL : Gtk::ORIENTATION_HORIZONTAL);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment