Closed cmcknight closed 5 years ago
Chapter 6:
The on_total method in the book (page 69 in ePub) reads:
def on_total(self, event): solution = self.update_solution() if solution: self.running_total.SetLabel('')
but the code in the repo reads:
def on_total(self, event): solution = self.update_solution() if solution: self.solution.SetValue(solution) self.running_total.SetLabel('')
The repo code works as expected and updates the solution text control.
More book editing. :-)
Good catch. Fixed locally. Will push all the book changes tonight
Chapter 6:
The on_total method in the book (page 69 in ePub) reads:
but the code in the repo reads:
The repo code works as expected and updates the solution text control.
More book editing. :-)