Przeglądaj źródła

Use Ctrl+Z to undoLastPoint as well

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

+ 1 - 1
labelme/app.py

@@ -220,7 +220,7 @@ class MainWindow(QtWidgets.QMainWindow, WindowMixin):
                       'copy', 'Create a duplicate of the selected polygon',
                       enabled=False)
         undoLastPoint = action('Undo last point', self.undoLastPoint,
-                               'Backspace', 'undoLastPoint',
+                               ['Ctrl+Z', 'Backspace'], 'undoLastPoint',
                                'Undo last drawn point', enabled=False)
 
         advancedMode = action('&Advanced Mode', self.toggleAdvancedMode,