Commit 679fe222 authored by Clement CHAVANCE's avatar Clement CHAVANCE

Widget is now attached to the docked widget

added call to setWidget in DockWidgetManager::AddDockedWidget
parent e54d6f67
......@@ -35,6 +35,7 @@ void DockWidgetManager::addDockedWidget( QWidget *widget,
{
QDockWidget* dock = new QDockWidget( tr( qs_name.toStdString().c_str() ), m_mainWin );
dock->setWidget( widget );
dock->setAllowedAreas( areas );
dock->setFeatures( features );
m_mainWin->addDockWidget( startArea, dock );
......
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