Commit a22a7945 authored by Jan Möbius's avatar Jan Möbius

Don't crash on internal renderer

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16259 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 562fce57
......@@ -86,7 +86,9 @@ void RendererObjectWidget::update()
textBrowser->insertPlainText(tr("Version: ") + renderer->version + "\n" );
textBrowser->insertPlainText("\n" );
textBrowser->insertPlainText(renderer->plugin->renderObjectsInfo());
if ( renderManager().activeId(PluginFunctions::activeExaminer()) != 0 )
textBrowser->insertPlainText(renderer->plugin->renderObjectsInfo());
} else {
textBrowser->setText("Unable to get renderer!");
......
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