fixes #662 issue with the submenu_divider
Merge pull request #689 from trains58554/develop

fixes #662 issue with the submenu_divider