comparison libgui/src/m-editor/file-editor.cc @ 17639:e693b2622f72

fix ambigous editor shortcut for uncommenting * file-editor.cc(set_shortcut): Ctrl-Shift-R instead of Ctrl-T (qscintilla)
author Torsten <ttl@justmail.de>
date Sat, 12 Oct 2013 00:24:32 +0200
parents b30bb9bb05c8
children c060ad097056
comparison
equal deleted inserted replaced
17638:cd79bb815eb1 17639:e693b2622f72
1248 file_editor::set_shortcuts (bool set) 1248 file_editor::set_shortcuts (bool set)
1249 { 1249 {
1250 if (set) 1250 if (set)
1251 { 1251 {
1252 _comment_selection_action->setShortcut (Qt::ControlModifier + Qt::Key_R); 1252 _comment_selection_action->setShortcut (Qt::ControlModifier + Qt::Key_R);
1253 _uncomment_selection_action->setShortcut (Qt::ControlModifier + Qt::Key_T); 1253 _uncomment_selection_action->setShortcut (Qt::SHIFT + Qt::ControlModifier + Qt::Key_R);
1254 1254
1255 _copy_action->setShortcut (QKeySequence::Copy); 1255 _copy_action->setShortcut (QKeySequence::Copy);
1256 _cut_action->setShortcut (QKeySequence::Cut); 1256 _cut_action->setShortcut (QKeySequence::Cut);
1257 _paste_action->setShortcut (QKeySequence::Paste); 1257 _paste_action->setShortcut (QKeySequence::Paste);
1258 _context_help_action->setShortcut (QKeySequence::HelpContents); 1258 _context_help_action->setShortcut (QKeySequence::HelpContents);