Selaa lähdekoodia

Save file correctly with file dialog

haraduka 8 vuotta sitten
vanhempi
commit
a766edf183
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      labelme/app.py

+ 1 - 1
labelme/app.py

@@ -768,7 +768,7 @@ class MainWindow(QMainWindow, WindowMixin):
             elif self.output:
                 self._saveFile(self.output)
             else:
-                self.saveFileDialog()
+                self._saveFile(self.saveFileDialog())
 
     def saveFileAs(self, _value=False):
         assert not self.image.isNull(), "cannot save empty image"