Skip to content

Commit

Permalink
snekde: Repaint code window after loading file
Browse files Browse the repository at this point in the history
Make sure the user sees the updated bits.

Signed-off-by: Keith Packard <keithp@keithp.com>
  • Loading branch information
keith-packard committed Feb 3, 2021
1 parent 4304a1f commit 2138e25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions snekde/snekde.py
Expand Up @@ -1218,6 +1218,7 @@ def load_file(path):
with open(path, "r") as myfile:
data = myfile.read()
snek_edit_win.set_text(data)
snek_edit_win.repaint()
snek_cur_path = path
snek_edit_win.changed = False

Expand Down

0 comments on commit 2138e25

Please sign in to comment.