Browse Source

Add shurtcuts

nordsoft 2 years ago
parent
commit
051886c98e
1 changed files with 15 additions and 0 deletions
  1. 15 0
      mapeditor/mainwindow.ui

+ 15 - 0
mapeditor/mainwindow.ui

@@ -1356,6 +1356,9 @@
    <property name="toolTip">
     <string>Lock objects on map to avoid unnecessary changes</string>
    </property>
+   <property name="shortcut">
+    <string>Ctrl+L</string>
+   </property>
   </action>
   <action name="actionUnlock">
    <property name="icon">
@@ -1368,6 +1371,9 @@
    <property name="toolTip">
     <string>Unlock all objects on the map</string>
    </property>
+   <property name="shortcut">
+    <string>Ctrl+Shift+L</string>
+   </property>
   </action>
   <action name="actionZoom_in">
    <property name="icon">
@@ -1377,6 +1383,9 @@
    <property name="text">
     <string>Zoom in</string>
    </property>
+   <property name="shortcut">
+    <string>Ctrl+=</string>
+   </property>
   </action>
   <action name="actionZoom_out">
    <property name="icon">
@@ -1386,6 +1395,9 @@
    <property name="text">
     <string>Zoom out</string>
    </property>
+   <property name="shortcut">
+    <string>Ctrl+-</string>
+   </property>
   </action>
   <action name="actionZoom_reset">
    <property name="icon">
@@ -1395,6 +1407,9 @@
    <property name="text">
     <string>Zoom reset</string>
    </property>
+   <property name="shortcut">
+    <string>Ctrl+Shift+=</string>
+   </property>
   </action>
  </widget>
  <customwidgets>