Merge pull request #2817 from PySimpleGUI/Dev-latest

typo
This commit is contained in:
PySimpleGUI 2020-04-14 12:57:52 -04:00 committed by GitHub
commit 36c41c2b15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ class GameOfLife:
sg.Text('', size=(3, 1), key='-S2-OUT-')] sg.Text('', size=(3, 1), key='-S2-OUT-')]
] ]
self.window = sg.Window('John Conway\' Game of Life', layout, finalize=True) self.window = sg.Window('John Conway\'s Game of Life', layout, finalize=True)
event, values = self.window.read(timeout=0) event, values = self.window.read(timeout=0)
self.delay = values['-SLIDER-'] self.delay = values['-SLIDER-']
self.window['-S1-OUT-'].update(values['-SLIDER-']) self.window['-S1-OUT-'].update(values['-SLIDER-'])