diff --git a/src/config.py b/src/config.py index 2ecbc7428..8d4d7ae1b 100644 --- a/src/config.py +++ b/src/config.py @@ -1774,6 +1774,7 @@ class ManageEmoticonsWindow: if self.image_is_ok(file): ok = True else: + file = None ok = True dialog.destroy() if file: