瀏覽代碼

fix shortcut

Laserlicht 6 月之前
父節點
當前提交
44bf6bdf48
共有 1 個文件被更改,包括 8 次插入2 次删除
  1. 8 2
      mapeditor/campaigneditor/campaigneditor.ui

+ 8 - 2
mapeditor/campaigneditor/campaigneditor.ui

@@ -139,7 +139,10 @@
     <string>Campaign Properties</string>
    </property>
    <property name="shortcut">
-    <string notr="true">Ctrl+Enter</string>
+    <string notr="true">Ctrl+Return</string>
+   </property>
+   <property name="shortcutContext">
+    <enum>Qt::ApplicationShortcut</enum>
    </property>
   </action>
   <action name="actionScenarioProperties">
@@ -150,7 +153,10 @@
     <string>Scenario Properties</string>
    </property>
    <property name="shortcut">
-    <string notr="true">Enter</string>
+    <string notr="true">Return</string>
+   </property>
+   <property name="shortcutContext">
+    <enum>Qt::ApplicationShortcut</enum>
    </property>
   </action>
   <action name="actionShowFullBackground">