-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Style reset after 2nd submenu #201
Comments
That's odd, definitely a bug |
A quick look says it's broken. When building the 3rd menu, the second menu hasn't been built yet, so it's not had the first menu's style set on to it. It has the default style. So the 3rd menu inherits the seconds default style. |
Adding menus and items executes their code immediately (other than user-provided callbacks). If the code is changed so that |
I'm thinking |
Not sure I’m following but I’d be interested in seeing a prototype 😀 |
Fixed with #210. |
It appears
CliMenuBuilder::addSubMenu()
returns false forI can step through and verify this, but the MenuStyle is only applied to the first submenu, nothing afterward unless I set the values again.
The text was updated successfully, but these errors were encountered: