Explorar el Código

Don't update image on every zoom value change

Michael Pitidis hace 13 años
padre
commit
f8265d3f41
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      labelme.py

+ 1 - 1
labelme.py

@@ -152,7 +152,7 @@ class MainWindow(QMainWindow, WindowMixin):
         self.queueEvent(partial(self.loadFile, self.filename))
 
         # Callbacks:
-        self.zoom_widget.valueChanged.connect(self.showImage)
+        self.zoom_widget.editingFinished.connect(self.showImage)
 
 
     ## Callback functions: