Bugfix: inserting a menu in a menu that contains both menus and items failed...
Bugfix: inserting a menu in a menu that contains both menus and items failed because it used the same index in menus and items lists. This patch fixes it.
This fixes #38 (closed)