Closed NeuralNetwork closed 7 years ago
The changes to model.py make the behavior of the forward and backward buttons consistent. The backward button does not wrap around anymore.
Regarding labeltool.py:
The signal clicked(bool checked=false)
supplies a bool to a connected slot. That bool
was previously consumed by gotoPrevious(self, step=1)
or gotoNext(self, step=1)
. false
is cast to 0
which is not what we want here.
OK, thx for the clarifications, merged.
Hey @NeuralNetwork, thx a lot for taking the time to create this pull request. Sorry it took me so long to reply, it's been quite busy.
I'm really inclined to accept this pull request (it's small, it passes all checks, it seems to fix a problem), but could you please state with a few words what kind of problem this fixes exactly? Your description "fixed forward and backward buttons" doesn't really tell the full story, I suppose?!