fixup! allow picking special node as well as create/edit

This commit is contained in:
2025-08-25 16:52:44 -05:00
parent 4c51448a68
commit fc5ffc0a15

View File

@@ -1260,7 +1260,7 @@ static bool edit_spec_enc_value(cDialog& me, std::string item_hit, node_stack_t&
i++;
}
int which = cStringChoice(node_hints, "Pick a special node:", nullptr, false, true).show(me[field].getTextAsNum());
int which = cStringChoice(node_hints, "Pick a special node:", &me, false, true).show(me[field].getTextAsNum());
me[field].setTextToNum(which);
}
// Create/edit: