From 3c57788f77b2fec24cb390cd71cbd2a1def6986e Mon Sep 17 00:00:00 2001 From: MikeTheWatchGuy Date: Fri, 14 Sep 2018 12:18:45 -0400 Subject: [PATCH] Call Finalize --- Demo_Pong.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Demo_Pong.py b/Demo_Pong.py index 0c03d69b..0e883804 100644 --- a/Demo_Pong.py +++ b/Demo_Pong.py @@ -130,7 +130,7 @@ def pong(): # ------------- Create window ------------- form = sg.FlexForm('Canvas test', return_keyboard_events=True) form.Layout(layout) - form.ReadNonBlocking() # TODO Replace with call to form.Finalize once code released + form.Finalize() # TODO Replace with call to form.Finalize once code released # ------------- Get the tkinter Canvas we're drawing on ------------- canvas = form.FindElement('canvas').TKCanvas