Commit ef42249f authored by Christopher Tenter's avatar Christopher Tenter
Browse files

add show render objects action in menu bar

parent 8b1648d7
...@@ -816,6 +816,13 @@ void CoreWidget::slotUpdateRendererMenu() { ...@@ -816,6 +816,13 @@ void CoreWidget::slotUpdateRendererMenu() {
// Remove old data // Remove old data
rendererMenu_->clear(); rendererMenu_->clear();
// Add render objects action
QAction* showRendererObjectWidget = new QAction(tr("Show render objects"), this);
connect(showRendererObjectWidget, SIGNAL(triggered()), this, SLOT(slotShowRenderObjectWidget()));
rendererMenu_->addAction(showRendererObjectWidget);
rendererMenu_->addSeparator();
// Add all new actions from the group to the menu // Add all new actions from the group to the menu
rendererMenu_->addActions( rendererGroup_->actions() ); rendererMenu_->addActions( rendererGroup_->actions() );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment