Skip to content

dtpanel core dump in sparse menus.ini #14

@MrStevenCarr

Description

@MrStevenCarr

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()));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions