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)
|
self.set_format(FORMAT_PASCALVOC)
|
||||||
else:
|
else:
|
||||||
raise ValueError('Unknown label file format.')
|
raise ValueError('Unknown label file format.')
|
||||||
|
self.setDirty()
|
||||||
|
|
||||||
def noShapes(self):
|
def noShapes(self):
|
||||||
return not self.itemsToShapes
|
return not self.itemsToShapes
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user