alice icon indicating copy to clipboard operation
alice copied to clipboard

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

Open kaamil1984 opened this issue 5 years ago • 0 comments

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

kaamil1984 avatar Feb 11 '20 16:02 kaamil1984