From 05948116a09728c93fb613522222ea71fde2a7a6 Mon Sep 17 00:00:00 2001 From: Sokomine Date: Mon, 17 Oct 2022 07:01:08 +0200 Subject: [PATCH] let new options point back to their dialog again --- edit_mode_apply_changes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edit_mode_apply_changes.lua b/edit_mode_apply_changes.lua index 724d55c..1792fec 100644 --- a/edit_mode_apply_changes.lua +++ b/edit_mode_apply_changes.lua @@ -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