ui: add rename shortcut

This commit is contained in:
itsmattkc
2022-07-22 13:25:46 -07:00
parent 187568324a
commit f2e604c2cb
13 changed files with 38 additions and 13 deletions
-4
View File
@@ -779,10 +779,6 @@ void NodeView::ShowContextMenu(const QPoint &pos)
if (itemAt(pos) && !selected.isEmpty()) {
// Label node action
QAction* label_action = m.addAction(tr("Label"));
connect(label_action, &QAction::triggered, this, &NodeView::LabelSelectedNodes);
// Grouping
if (selected.size() == 1 && dynamic_cast<NodeGroup*>(selected.first()->GetNode())) {
QAction *ungroup_action = m.addAction(tr("Ungroup"));