From 27ee192354a943c4f3282a4227486a4dc6ce5c8e Mon Sep 17 00:00:00 2001 From: Evil Eye Date: Sun, 29 Jun 2025 10:57:23 +0200 Subject: [PATCH] Set default hotkeys for (un)commenting script lines --- apps/opencs/model/prefs/values.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/opencs/model/prefs/values.hpp b/apps/opencs/model/prefs/values.hpp index 16e5434d6b..7b6d5e9f5f 100644 --- a/apps/opencs/model/prefs/values.hpp +++ b/apps/opencs/model/prefs/values.hpp @@ -507,8 +507,10 @@ namespace CSMPrefs Settings::SettingValue mOrbitRollRight{ mIndex, sName, "orbit-roll-right", "E" }; Settings::SettingValue mOrbitSpeedMode{ mIndex, sName, "orbit-speed-mode", "" }; Settings::SettingValue mOrbitCenterSelection{ mIndex, sName, "orbit-center-selection", "C" }; - Settings::SettingValue mScriptEditorComment{ mIndex, sName, "script-editor-comment", "" }; - Settings::SettingValue mScriptEditorUncomment{ mIndex, sName, "script-editor-uncomment", "" }; + Settings::SettingValue mScriptEditorComment{ mIndex, sName, "script-editor-comment", + "Ctrl+Slash" }; + Settings::SettingValue mScriptEditorUncomment{ mIndex, sName, "script-editor-uncomment", + "Ctrl+Shift+Question" }; }; struct ModelsCategory : Settings::WithIndex