From 98e88371adc0203e170a7aa423e1b22df0570589 Mon Sep 17 00:00:00 2001 From: "Sam.An" <56215891+sammiee5311@users.noreply.github.com> Date: Wed, 29 Dec 2021 02:10:38 +0900 Subject: [PATCH] Fix opening next image error (#835) * Fix draw annotations error * Fix opening next image --- labelImg.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/labelImg.py b/labelImg.py index 70718987..97a4666e 100755 --- a/labelImg.py +++ b/labelImg.py @@ -1362,6 +1362,9 @@ class MainWindow(QMainWindow, WindowMixin): if self.img_count <= 0: return + + if not self.m_img_list: + return filename = None if self.file_path is None: