Mesh: use of TaskDialog::addTaskBox

This commit is contained in:
wmayer
2024-03-26 12:01:02 +01:00
committed by wwmayer
parent 655e2f6978
commit 7a535eedc5
11 changed files with 11 additions and 33 deletions

View File

@@ -159,9 +159,7 @@ void Segmentation::changeEvent(QEvent* e)
TaskSegmentation::TaskSegmentation(Mesh::Feature* mesh)
{
widget = new Segmentation(mesh); // NOLINT
taskbox = new Gui::TaskView::TaskBox(QPixmap(), widget->windowTitle(), false, nullptr);
taskbox->groupLayout()->addWidget(widget);
Content.push_back(taskbox);
addTaskBox(widget, false);
}
bool TaskSegmentation::accept()