Skip to content
Snippets Groups Projects
Commit 3be61640 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Handle dock widget containing OSGWidget properly (visibility of central

widget)
parent 42015705
No related branches found
No related tags found
No related merge requests found
......@@ -252,6 +252,7 @@ namespace gepetto {
QDockWidget* dockOSG = new QDockWidget (
tr("Window ") + osgWidget->objectName(), this);
dockOSG->setWidget(osgWidget);
connect(dockOSG,SIGNAL(visibilityChanged(bool)),SLOT(dockVisibilityChanged(bool)));
addDockWidget(Qt::RightDockWidgetArea, dockOSG);
if (osgWindows_.empty()) {
// This OSGWidget should be the central view
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment