XSegEditor: fix bugs

This commit is contained in:
Colombo 2020-03-27 19:08:01 +04:00
parent 6687213fa5
commit d1a5639e90
2 changed files with 5 additions and 3 deletions

View file

@ -1182,7 +1182,9 @@ class MainWindow(QXMainWindow):
break
if len(self.image_paths) == 0:
break
if self.canvas_initialize(self.image_paths[0], only_has_polys):
if self.canvas_initialize(self.image_paths[0], len(self.image_paths_done) != 0 and only_has_polys):
break
self.update_cached_images()