Skip to content

Commit d8cc3bb

Browse files
authored
Fix config restart gui names overlap (#1538)
1 parent 593f57d commit d8cc3bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

features/restart_command.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ local function draw_main_frame(player)
360360
local grid = main_frame.add { type = 'table', style = 'player_input_table', column_count = 2 }
361361
for mod_pack_name, mod_pack_value in pairs(memory.known_mod_packs) do
362362
grid.add {type = 'label', caption = mod_pack_name}
363-
local mod_pack_textfield = grid.add {type = 'textfield', name = known_mod_pack_textfield_name, text = mod_pack_value}
363+
local mod_pack_textfield = grid.add({type = 'flow'}).add {type = 'textfield', name = known_mod_pack_textfield_name, text = mod_pack_value}
364364
Gui.set_data(mod_pack_textfield, mod_pack_name)
365365
end
366366
end

0 commit comments

Comments
 (0)