Skip to content

Set sample rate does nothing if you hit enter, but it should #6

Description

@kaamil1984

Is this a bug in key binding? When I hit enter - I'm getting error that it can't run SetSampleRate that accepts 0 arguments with 1 argument.

There is a line that binds key with function I guess (I'm not python guy).

BaseRateEntry.bind("<Return>", SetSampleRate)

I think it should be like this:

BaseRateEntry.bind("<Return>", onSrateEnter)

# ...
# ...
# and somewhere below onSrateScroll function:

def onSrateEnter(event):
    SetSampleRate()
#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions