diff --git a/hcatitles.py b/hcatitles.py index 6b5fbe6..996f720 100644 --- a/hcatitles.py +++ b/hcatitles.py @@ -35,11 +35,13 @@ def build_layout(title, subtitle, thumbnail): control_col = sg.Column([ [ sg.Frame('Title', - layout = [[sg.Input(title, key = '-TITLE-')]] + layout = [[sg.Input(title, key = '-TITLE-', + enable_events=True)]] )], [ sg.Frame('subtitle', - layout = [[sg.Input(subtitle, key = '-SUBTITLE-')]] + layout = [[sg.Input(subtitle, key = '-SUBTITLE-', + enable_events=True)]] )], [ sg.Button('Save image', key= '-SAVE-')],