ui: Fix copy shortcut for selected code broken #943

fixes #940
This commit is contained in:
Eberhard Gräther
2020-03-23 18:10:21 +01:00
committed by GitHub
parent 38925292b7
commit eaa263be44
12 changed files with 56 additions and 0 deletions
@@ -785,6 +785,13 @@ void QtCodeNavigator::keyPressEvent(QKeyEvent* event)
}
break;
case Qt::Key_C:
if (ctrl && !alt && !shift)
{
m_current->copySelection();
}
break;
default:
QWidget::keyPressEvent(event);
return;