Changing format enables save button
This commit is contained in:
parent
f387c5932b
commit
0e905160fe
@ -519,6 +519,7 @@ class MainWindow(QMainWindow, WindowMixin):
|
||||
self.set_format(FORMAT_PASCALVOC)
|
||||
else:
|
||||
raise ValueError('Unknown label file format.')
|
||||
self.setDirty()
|
||||
|
||||
def noShapes(self):
|
||||
return not self.itemsToShapes
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user