Skip to content

Commit

Permalink
added Ctrl+C functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
alash325 committed Mar 23, 2017
1 parent cabda3b commit dbe5871
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OMEdit/OMEditGUI/Modeling/LibraryTreeWidget.cpp
Expand Up @@ -3337,6 +3337,8 @@ void LibraryTreeView::keyPressEvent(QKeyEvent *event)
moveClassTop();
} else if (controlModifier && event->key() == Qt::Key_PageDown && isModelicaLibraryType && !isTopLevel) {
moveClassBottom();
} else if (controlModifier && event->key() == Qt::Key_C) {
QApplication::clipboard()->setText(pLibraryTreeItem->getNameStructure());
} else if (event->key() == Qt::Key_Delete) {
if (isModelicaLibraryType) {
unloadClass();
Expand Down

0 comments on commit dbe5871

Please sign in to comment.