alice
alice copied to clipboard
Set sample rate does nothing if you hit enter, but it should
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()
#