mirror of https://github.com/CGAL/cgal
Add a waitcursor while the planes are being created.
This commit is contained in:
parent
62505b331e
commit
e95f28a2f6
|
|
@ -503,6 +503,7 @@ private:
|
|||
}
|
||||
|
||||
void createPlanes(Scene_image_item* seg_img) {
|
||||
QApplication::setOverrideCursor(Qt::WaitCursor);
|
||||
//Control widgets creation
|
||||
QLayout* layout = createOrGetDockLayout();
|
||||
if(x_control == NULL)
|
||||
|
|
@ -664,6 +665,7 @@ private Q_SLOTS:
|
|||
{
|
||||
msgBox.hide();
|
||||
nbPlanes = 0;
|
||||
QApplication::restoreOverrideCursor();
|
||||
}
|
||||
}
|
||||
// Avoids the segfault after the deletion of an item
|
||||
|
|
|
|||
Loading…
Reference in New Issue