AndrewRigg / Crossword

Crossword Generator made by Steven Court
0 stars 0 forks source link

Closing solution does same action as hide solution. #35

Closed AndrewRigg closed 8 years ago

AndrewRigg commented 8 years ago

Need to ensure that when the solutions for the various puzzles are shown, pressing the 'x' in the top right corner has the same effect as pressing the 'hide solution' button. In other words it makes the crossword text go back to normal.

AndrewRigg commented 8 years ago

Got this working by passing the Crossword into the solution as a parameter. Then when window closing event is called, it calls the method in crossword to change the corresponding text.