소스 검색

Add newline to short action manu title

Kentaro Wada 1 년 전
부모
커밋
6152d6b3ff
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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",