Skip to content
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

dtpanel core dump in sparse menus.ini #14

Open
MrStevenCarr opened this issue Jan 23, 2012 · 1 comment
Open

dtpanel core dump in sparse menus.ini #14

MrStevenCarr opened this issue Jan 23, 2012 · 1 comment
Milestone

Comments

@MrStevenCarr
Copy link
Member

dtpanel core dumps when menus.ini only contains a section.

In void PanelWindow::onFocus(void* caller)

Motif::Color color(menuButtons.at(0)->getHighlightColor());

Should be

Motif::Color color(( menuButtons.size()>0 ? menuButtons.at(0)->getHighlightColor() : getBackground()));

@arcfide
Copy link
Member

arcfide commented Jan 23, 2012

Can you push a branch that addresses this feature? We can review that branch and then merge it in to the master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants