Ver Fonte

Add newline to short action manu title

Kentaro Wada há 1 ano atrás
pai
commit
6152d6b3ff
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      labelme/app.py

+ 3 - 3
labelme/app.py

@@ -221,7 +221,7 @@ class MainWindow(QtWidgets.QMainWindow):
             self.tr("Quit application"),
         )
         open_ = action(
-            self.tr("&Open"),
+            self.tr("&Open\n"),
             self.openFile,
             shortcuts["open"],
             "open",
@@ -251,7 +251,7 @@ class MainWindow(QtWidgets.QMainWindow):
             enabled=False,
         )
         save = action(
-            self.tr("&Save"),
+            self.tr("&Save\n"),
             self.saveFile,
             shortcuts["save"],
             "save",
@@ -435,7 +435,7 @@ class MainWindow(QtWidgets.QMainWindow):
         )
 
         undo = action(
-            self.tr("Undo"),
+            self.tr("Undo\n"),
             self.undoShapeEdit,
             shortcuts["undo"],
             "undo",