[205.023] ShowInToolbarConfig terminal property no longer exists

Digi shared this bug 2 months ago
Reported

Any mod or programmable block that uses block.SetValue<bool>("ShowInToolbarConfig", true) would get an error because it no longer exists.


The GUI does still have it but its internal ID is "ShowInTerminal".

This is because MyTerminalBlock.CreateTerminalControls() uses SHOW_IN_TERMINAL ID on both the first and the 3rd control, instead of SHOW_IN_TOOLBAR_CONFIG being used on the 3rd.


To reproduce:

1. a world with ingame scripts enabled

2. place a battery and a programmable block

3. add this script to the PB:

public Program()
{
    Me.SetValue<bool>("ShowInToolbarConfig", false);
}
See how it throws errors bottom-right in its terminal.


And yes while there are workarounds, this should still be fixed as it causes unnecessary issues for older PB scripts and mods.

Replies (1)

photo
1

Hello Digi,

Thank you for reaching our forum and letting us know about this issue.

We have added this issue into our internal system.

Kind Regards,

Keen Software House: QA Department

Leave a Comment
 
Attach a file