diff --git a/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Io_image_plugin.cpp b/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Io_image_plugin.cpp index 5852bdb1737..8169a577a64 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Io_image_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Io_image_plugin.cpp @@ -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