StoryWeaver
March 19th, 2020, 05:00
Hey,
For some of the menu items I'm adding, an extra blank entry is added as the first one.
I'm sure it's a simple mistake somewhere in how I'm setting the menu up.
Here is some sample code:
OptionsManager.registerOption2("IM_BG", false, "option_header_5eenhancher_window_resizing", "option_backgrounds", "option_entry_cycler",
{ labels = "default|larger", values = "option_default|option_larger", default = "option_default" })
What I want are two entries in the menu, with the entry named "default" in this case being the first one and appearing as default. Without a blank entry being added to the rotation.
For some other entries I have several options, where I'm also getting an extra blank entry at the start.
What am I getting wrong here?
For some of the menu items I'm adding, an extra blank entry is added as the first one.
I'm sure it's a simple mistake somewhere in how I'm setting the menu up.
Here is some sample code:
OptionsManager.registerOption2("IM_BG", false, "option_header_5eenhancher_window_resizing", "option_backgrounds", "option_entry_cycler",
{ labels = "default|larger", values = "option_default|option_larger", default = "option_default" })
What I want are two entries in the menu, with the entry named "default" in this case being the first one and appearing as default. Without a blank entry being added to the rotation.
For some other entries I have several options, where I'm also getting an extra blank entry at the start.
What am I getting wrong here?