Changing test/editor Shortcut Key Ctrl-i.

The original choice for split screen editing, Ctrl-2, did not
work well on some platforms.
This commit is contained in:
Matthias Melcher 2024-08-19 12:27:18 +02:00
parent 7cb33ea802
commit f151ecb87b
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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