Commit 4ba76bd8 authored by André Anjos's avatar André Anjos 💬

[gui] Fix on-quit-no-saving

parent 44761f78
Pipeline #26457 failed with stages
in 15 minutes and 21 seconds
......@@ -515,7 +515,7 @@ class AnnotatorApp(tkinter.Tk):
def on_quit_no_saving(self, *args, **kwargs):
"""On quit we either dump the output to screen or to a file."""
data = [self.unzoom_points(k.points) for k in self.annotation]
data = [self.unzoom_points(k.point) for k in self.annotation]
if any(data) and not self.readonly:
stem = os.path.relpath(self.filelist[self.curr_pos], self.basedir)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment