From ce3040b372cff553719ce1d67a634887448f5d27 Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 4 Sep 2014 17:20:15 +0400 Subject: [PATCH] Issue #34: Object browser, console and property panel can be placed into any dock position --- src/XGUI/XGUI_Workshop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 54ea79e52..44fc8d1f7 100644 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -827,7 +827,7 @@ QList XGUI_Workshop::getModuleCommands() const QDockWidget* XGUI_Workshop::createObjectBrowser(QWidget* theParent) { QDockWidget* aObjDock = new QDockWidget(theParent); - aObjDock->setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea); + //aObjDock->setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea); aObjDock->setWindowTitle(tr("Object browser")); aObjDock->setStyleSheet( "::title { position: relative; padding-left: 5px; text-align: left center }"); -- 2.39.2