summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2019-03-08 18:34:51 +0000
committerMartin Owens <doctormo@gmail.com>2019-03-08 18:34:51 +0000
commit679bb6ef74f9d7518232f2157e56413599e818fe (patch)
tree0b9155303f54fe854e474f868dd8e6ae1e720f06 /src
parentmac CI: -DCMAKE_PREFIX_PATH=".../libffi" (diff)
downloadinkscape-679bb6ef74f9d7518232f2157e56413599e818fe.tar.gz
inkscape-679bb6ef74f9d7518232f2157e56413599e818fe.zip
Fix #122 reversing change from merge request \!303
Diffstat (limited to 'src')
-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.