If item fix

This commit is contained in:
Jindra Petk
2013-06-21 20:26:09 +02:00
parent bd9572342a
commit 652f1af0c6

View File

@@ -67,7 +67,7 @@ public class IfItem extends GraphTargetItem implements Block {
}
}
ret += hilight("}");
if (onFalse.size() > 0) {
if (elseBranch.size() > 0) {
ret += "\r\n" + hilight("else") + "\r\n" + hilight("{") + "\r\n";
for (GraphTargetItem ti : elseBranch) {
if (!ti.isEmpty()) {