Przeglądaj źródła

Fix editMode which should be enabled

Kentaro Wada 7 lat temu
rodzic
commit
52ff12a04d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      labelme/app.py

+ 1 - 1
labelme/app.py

@@ -260,7 +260,7 @@ class MainWindow(QtWidgets.QMainWindow, WindowMixin):
                             'Start drawing polygons', enabled=True)
         editMode = action('&Edit\nPolygons', self.setEditMode,
                           shortcuts['edit_polygon'], 'edit',
-                          'Move and edit polygons', enabled=False)
+                          'Move and edit polygons', enabled=True)
 
         delete = action('Delete\nPolygon', self.deleteSelectedShape,
                         shortcuts['delete_polygon'], 'cancel',