ui: add rename shortcut
This commit is contained in:
@@ -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"));
|
||||
|
||||
@@ -112,6 +112,8 @@ public slots:
|
||||
|
||||
void CenterOnNode(olive::Node *n);
|
||||
|
||||
void LabelSelectedNodes();
|
||||
|
||||
signals:
|
||||
void NodesSelected(const QVector<Node*>& nodes);
|
||||
|
||||
@@ -275,8 +277,6 @@ private slots:
|
||||
|
||||
void ShowNodeProperties();
|
||||
|
||||
void LabelSelectedNodes();
|
||||
|
||||
void ItemAboutToBeDeleted(NodeViewItem *item);
|
||||
|
||||
void CloseOverlay();
|
||||
|
||||
Reference in New Issue
Block a user