Explorar el Código

Fix bug with createMode sensitivity

The button should not track the drawing signal, it should always be
disabled in draw mode.
Michael Pitidis hace 13 años
padre
commit
fe14f007bc
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      labelme.py

+ 0 - 1
labelme.py

@@ -418,7 +418,6 @@ class MainWindow(QMainWindow, WindowMixin):
 
     def toggleDrawingSensitive(self, drawing=True):
         """In the middle of drawing, toggling between modes should be disabled."""
-        self.actions.createMode.setEnabled(not drawing)
         self.actions.editMode.setEnabled(not drawing)
         if not drawing and self.beginner():
             # Cancel creation.