summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2024-08-19 12:27:18 +0200
committerMatthias Melcher <github@matthiasm.com>2024-08-19 12:27:18 +0200
commitf151ecb87b8ecfca4bfcd352ff7590edf425666a (patch)
treea60429dc866dbb6f440fd9fe3d0992e000bb5e8d
parent7cb33ea80252b00bf00789d7280d976dd5b04502 (diff)
Changing test/editor Shortcut Key Ctrl-i.
The original choice for split screen editing, Ctrl-2, did not work well on some platforms.
-rw-r--r--documentation/src/editor.dox2
-rw-r--r--test/editor.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/documentation/src/editor.dox b/documentation/src/editor.dox
index 299af9ff6..fb93e63b7 100644
--- a/documentation/src/editor.dox
+++ b/documentation/src/editor.dox
@@ -979,7 +979,7 @@ set correctly. Lastly, we add a menu item with a callback.
app_window->end();
app_window->resizable(app_tile);
app_tile->resizable(app_editor);
- app_menu_bar->add("Window/Split", FL_COMMAND+'2', menu_split_callback, NULL, FL_MENU_TOGGLE);
+ app_menu_bar->add("Window/Split", FL_COMMAND+'i', menu_split_callback, NULL, FL_MENU_TOGGLE);
}
\endcode
diff --git a/test/editor.cxx b/test/editor.cxx
index 360e3eed7..043066108 100644
--- a/test/editor.cxx
+++ b/test/editor.cxx
@@ -658,7 +658,7 @@ void tut9_split_editor() {
app_window->end();
app_window->resizable(app_tile);
app_tile->resizable(app_editor);
- app_menu_bar->add("Window/Split", FL_COMMAND+'2', menu_split_callback, NULL, FL_MENU_TOGGLE);
+ app_menu_bar->add("Window/Split", FL_COMMAND+'i', menu_split_callback, NULL, FL_MENU_TOGGLE);
}
#endif