Skip to content

Commit 4aeab27

Browse files
committed
Fix placement of Panel widget
Since #1611 and 41d62f5749b05c68131b752c605191518eaf19d5, the floating argument for panels is correctly handled. Here, we don't want the panel to be floating.
1 parent 3457c91 commit 4aeab27

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

visualization/motion_planning_tasks/src/task_panel.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,8 @@ void TaskPanel::request(rviz::WindowManagerInterface* window_manager) {
155155
if (SINGLETON || !vis_frame)
156156
return; // already defined, nothing to do
157157

158-
QDockWidget* dock =
159-
vis_frame->addPanelByName("Motion Planning Tasks", "moveit_task_constructor/Motion Planning Tasks",
160-
Qt::LeftDockWidgetArea, true /* floating */);
158+
QDockWidget* dock = vis_frame->addPanelByName(
159+
"Motion Planning Tasks", "moveit_task_constructor/Motion Planning Tasks", Qt::LeftDockWidgetArea);
161160
Q_UNUSED(dock);
162161
assert(dock->widget() == SINGLETON);
163162
}

0 commit comments

Comments
 (0)