RE: use of TaskDialog::addTaskBox
This commit is contained in:
@@ -272,9 +272,7 @@ void Segmentation::changeEvent(QEvent* e)
|
||||
TaskSegmentation::TaskSegmentation(Mesh::Feature* mesh)
|
||||
{
|
||||
widget = new Segmentation(mesh);
|
||||
taskbox = new Gui::TaskView::TaskBox(QPixmap(), widget->windowTitle(), false, nullptr);
|
||||
taskbox->groupLayout()->addWidget(widget);
|
||||
Content.push_back(taskbox);
|
||||
addTaskBox(widget, false);
|
||||
}
|
||||
|
||||
bool TaskSegmentation::accept()
|
||||
|
||||
Reference in New Issue
Block a user