summaryrefslogtreecommitdiffstats
path: root/src/ui/tool/path-manipulator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/tool/path-manipulator.cpp')
-rw-r--r--src/ui/tool/path-manipulator.cpp11
1 files changed, 5 insertions, 6 deletions
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.