From 85994d68b90b3042b7b976b04028ea294f93e705 Mon Sep 17 00:00:00 2001 From: IChooseYou Date: Sun, 15 Feb 2026 14:36:22 -0700 Subject: [PATCH] remove Node menu from menubar, actions available via editor right-click --- src/main.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index f464e31..ad2a38e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -426,14 +426,6 @@ void MainWindow::createMenus() { view->addSeparator(); view->addAction(m_workspaceDock->toggleViewAction()); - // Node - auto* node = m_titleBar->menuBar()->addMenu("&Node"); - node->addAction(makeIcon(":/vsicons/add.svg"), "&Add Field", QKeySequence(Qt::Key_Insert), this, &MainWindow::addNode); - node->addAction(makeIcon(":/vsicons/remove.svg"), "&Remove Field", QKeySequence::Delete, this, &MainWindow::removeNode); - node->addAction(makeIcon(":/vsicons/symbol-structure.svg"), "Change &Type", QKeySequence(Qt::Key_T), this, &MainWindow::changeNodeType); - node->addAction(makeIcon(":/vsicons/edit.svg"), "Re&name", QKeySequence(Qt::Key_F2), this, &MainWindow::renameNodeAction); - node->addAction(makeIcon(":/vsicons/files.svg"), "D&uplicate", this, &MainWindow::duplicateNodeAction)->setShortcut(QKeySequence(Qt::CTRL | Qt::Key_D)); - // Plugins auto* plugins = m_titleBar->menuBar()->addMenu("&Plugins"); plugins->addAction("&Manage Plugins...", this, &MainWindow::showPluginsDialog);