From 679bb6ef74f9d7518232f2157e56413599e818fe Mon Sep 17 00:00:00 2001 From: Martin Owens Date: Fri, 8 Mar 2019 10:34:51 -0800 Subject: Fix #122 reversing change from merge request \!303 --- src/ui/tool/path-manipulator.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/ui/tool/path-manipulator.cpp') diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp index 8309dbe0e..1d4bb3999 100644 --- a/src/ui/tool/path-manipulator.cpp +++ b/src/ui/tool/path-manipulator.cpp @@ -1525,12 +1525,11 @@ void PathManipulator::_setGeometry() /** Figure out in what attribute to store the nodetype string. */ Glib::ustring PathManipulator::_nodetypesKey() { - // temporary fix - // if (_lpe_key.empty()) - if (false) - return ("sodipodi:nodetypes"); - else - return (_lpe_key + "-nodetypes"); + if (_lpe_key.empty()) { + return "sodipodi:nodetypes"; + } else { + return _lpe_key + "-nodetypes"; + } } /** Return the XML node we are editing. -- cgit v1.2.3