diff -r d97594e3fc54 -r 0efe5dbcef07 src/gui_editactions.cpp --- a/src/gui_editactions.cpp Sat Dec 07 01:03:17 2013 +0200 +++ b/src/gui_editactions.cpp Sat Dec 07 01:08:52 2013 +0200 @@ -555,7 +555,7 @@ int col = maincolor; - if (obj->getType() == LDObject::Line || obj->getType() == LDObject::CndLine) + if (obj->getType() == LDObject::Line || obj->getType() == LDObject::CondLine) col = edgecolor; obj->setColor (col); @@ -652,10 +652,10 @@ int num = 0; for (LDObject* obj : sel) - { if (obj->getType() != LDObject::CndLine) + { if (obj->getType() != LDObject::CondLine) continue; - LDLine* repl = static_cast (obj)->demote(); + LDLine* repl = static_cast (obj)->demote(); g_win->R()->compileObject (repl); ++num; }