Mercurial > hg > octave-nkf
changeset 17637:b30bb9bb05c8
change some editor shortcuts
* file-editor.cc(set_shortcuts): change shortcuts for run, comment and uncomment
author | Torsten <ttl@justmail.de> |
---|---|
date | Sat, 12 Oct 2013 00:08:29 +0200 |
parents | 230ffaf80ac9 |
children | cd79bb815eb1 |
files | libgui/src/m-editor/file-editor.cc |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor.cc +++ b/libgui/src/m-editor/file-editor.cc @@ -1249,8 +1249,8 @@ { if (set) { - _comment_selection_action->setShortcut (Qt::ControlModifier + Qt::Key_7); - _uncomment_selection_action->setShortcut (Qt::ControlModifier + Qt::Key_8); + _comment_selection_action->setShortcut (Qt::ControlModifier + Qt::Key_R); + _uncomment_selection_action->setShortcut (Qt::ControlModifier + Qt::Key_T); _copy_action->setShortcut (QKeySequence::Copy); _cut_action->setShortcut (QKeySequence::Cut); @@ -1266,7 +1266,7 @@ _toggle_bookmark_action->setShortcut (Qt::Key_F7); _print_action->setShortcut (QKeySequence::Print); - _run_action->setShortcut (Qt::ControlModifier+ Qt::Key_R); + _run_action->setShortcut (Qt::Key_F5); _context_run_action->setShortcut (Qt::Key_F9); _context_edit_action->setShortcut (Qt::ControlModifier + Qt::Key_E);