let new options point back to their dialog again

This commit is contained in:
Sokomine 2022-10-17 07:01:08 +02:00
parent e91dc93b11
commit 05948116a0

View File

@ -142,7 +142,7 @@ yl_speak_up.edit_mode_apply_changes = function(pname, fields)
-- add a new option/answer
if(fields[ "add_option"]) then
local future_o_id = yl_speak_up.add_new_option(dialog, pname, nil, d_id, "")
local future_o_id = yl_speak_up.add_new_option(dialog, pname, nil, d_id, "", d_id)
if(not(future_o_id)) then
-- this is already checked earlier on and the button only shown if
-- options can be added; so this can reamin a chat message