Loggytronic Forum

VOMP => VOMP for Raspberry Pi => Topic started by: kowovomp on January 11, 2018, 21:48:23

Title: [solved] Option Advanced Menu not working properly
Post by: kowovomp on January 11, 2018, 21:48:23
Hi,

the 0.5.0 image is running well, but the "advanced menu" option is not working properly.

I would like to stay with "classic" menu, that works fine until i restart the raspberry.
after a reboot the option ist still set to "classic", but the skin looks like "advanced".
if i set the option to advanced and back to classic, it's fine again.

the option is also saved correct in <MAC>.conf file as "Menu type = Classic".

Thanks for help,
Wolfgang
Title: Re: Option Advanced Menu not working properly
Post by: kowovomp on January 14, 2018, 19:07:57
I've found the error  ;D

The client tries to load the option from the ADVANCED section, but it's saved to GENERAL.
As a workaround i've moved the "Menu type = Classic" parameter in the conf-file to the correct section.

Title: Re: Option Advanced Menu not working properly
Post by: kowovomp on January 14, 2018, 21:34:39
sourcefile VOPTS.CC needs to be corrected:

WRONG: option = new Option(19, "Advanced Menu", "General", "Menu type",Option::TYPE_TEXT, 2, 0, 0, options19);
CORRECT: option = new Option(19, "Advanced Menu", "Advanced", "Menu type",Option::TYPE_TEXT, 2, 0, 0, options19);
Title: Re: [solved] Option Advanced Menu not working properly
Post by: MartenR on January 15, 2018, 07:16:08
Thanks for reporting this.
I have added your fix to the git.

Marten