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

Put PythonQt widget at the good place in the Window menu.

parent fef11d64
No related branches found
No related tags found
No related merge requests found
......@@ -60,11 +60,10 @@ namespace gepetto {
worker_.start();
collisionLabel_ = new QLabel("No collisions.");
setupInterface();
#if GEPETTO_GUI_HAS_PYTHONQT
pythonWidget_ = new PythonWidget(this);
insertDockWidget(pythonWidget_, Qt::BottomDockWidgetArea, Qt::Horizontal);
#endif
setupInterface();
}
MainWindow::~MainWindow()
......@@ -370,6 +369,9 @@ namespace gepetto {
ui_->dockWidget_log->toggleViewAction ()->setIcon(QIcon::fromTheme("window-new"));
ui_->dockWidget_log->toggleViewAction ()->setShortcut(Qt::CTRL + Qt::ALT + Qt::Key_L);
ui_->menuWindow->addAction(ui_->dockWidget_log->toggleViewAction ());
#if GEPETTO_GUI_HAS_PYTHONQT
insertDockWidget(pythonWidget_, Qt::BottomDockWidgetArea, Qt::Horizontal);
#endif
ui_->menuWindow->addSeparator();
......
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