Sfoglia il codice sorgente

Fix icon name: 'new' -> 'objects'

Kentaro Wada 7 anni fa
parent
commit
8b37d242a1
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      labelme/app.py

+ 2 - 2
labelme/app.py

@@ -255,8 +255,8 @@ class MainWindow(QtWidgets.QMainWindow, WindowMixin):
         editMode = action('&Edit\nPolygons', self.setEditMode, 'Ctrl+J',
                           'edit', 'Move and edit polygons', enabled=False)
 
-        create = action('Create\nPolygo&n', self.createShape, 'Ctrl+N', 'new',
-                        'Draw a new polygon', enabled=False)
+        create = action('Create\nPolygo&n', self.createShape, 'Ctrl+N',
+                        'objects', 'Draw a new polygon', enabled=False)
         delete = action('Delete\nPolygon', self.deleteSelectedShape, 'Delete',
                         'cancel', 'Delete', enabled=False)
         copy = action('&Duplicate\nPolygon', self.copySelectedShape, 'Ctrl+D',