Commit 4eee0178 authored by Jan Möbius's avatar Jan Möbius
Browse files

Merge branch 'menubar_showrenderobjects' into 'master'

add show render objects action in menu bar

See merge request !2
parents 445feac4 ef42249f
......@@ -816,6 +816,13 @@ void CoreWidget::slotUpdateRendererMenu() {
// Remove old data
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
rendererMenu_->addActions( rendererGroup_->actions() );
......
Markdown is supported
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