# HG changeset patch # User Torsten # Date 1381529309 -7200 # Node ID b30bb9bb05c8a88d2bd0a1fc831a29d7a9bba7fa # Parent 230ffaf80ac9b64accf5066846904fbc38d37bc5 change some editor shortcuts * file-editor.cc(set_shortcuts): change shortcuts for run, comment and uncomment diff --git a/libgui/src/m-editor/file-editor.cc b/libgui/src/m-editor/file-editor.cc --- 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);