Skip to content

bind a not string callback to a menu item shortcut does not work #2

@pascalchap

Description

@pascalchap

in class Item init, when a key is defined, it is bound to self.cb intstead of cmd which is self.cb when the command is defined as a string or the parameter cmd in any other case.
replace line 540 : App.root.bind(key, self.cb) with App.root.bind(key, cmd)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions