From c5d79552ed7e5a1ae04d6c75967e5bbb55e5fc75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Fri, 4 Sep 2015 18:06:54 +0200 Subject: [PATCH] Reenable node removal --- API | 2 +- .../Plugin/Panel/DeviceExplorerWidget.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/API b/API index fe90d08b00..4c77d96bac 160000 --- a/API +++ b/API @@ -1 +1 @@ -Subproject commit fe90d08b00eadbd9d2026cf779a0f13dcb8d796e +Subproject commit 4c77d96bac2ecf5e7447886fb15b937ff05aa498 diff --git a/base/plugins/iscore-plugin-deviceexplorer/Plugin/Panel/DeviceExplorerWidget.cpp b/base/plugins/iscore-plugin-deviceexplorer/Plugin/Panel/DeviceExplorerWidget.cpp index 8e33e9536f..cf64e17f5e 100644 --- a/base/plugins/iscore-plugin-deviceexplorer/Plugin/Panel/DeviceExplorerWidget.cpp +++ b/base/plugins/iscore-plugin-deviceexplorer/Plugin/Panel/DeviceExplorerWidget.cpp @@ -161,7 +161,7 @@ DeviceExplorerWidget::buildGUI() this->addAction(m_refreshAction); this->addAction(m_refreshValueAction); - //this->addAction(m_removeNodeAction); + this->addAction(m_removeNodeAction); this->addAction(m_copyAction); this->addAction(m_cutAction); @@ -275,7 +275,7 @@ DeviceExplorerWidget::contextMenuEvent(QContextMenuEvent* event) contextMenu->addAction(m_promoteAction); contextMenu->addAction(m_demoteAction); contextMenu->addSeparator(); - //contextMenu->addAction(m_removeNodeAction); + contextMenu->addAction(m_removeNodeAction); contextMenu->exec(event->globalPos()); }