rename cursor setting functions to make modal set/restore more clearly related functions.
[blender-staging.git] / source / blender / makesrna / intern / rna_wm_api.c
index c822378e76ef1330c47ebbf2bc0fd089b02b28f1..f9fe49956af95dd382382cc74018a60f69411e6a 100644 (file)
@@ -120,7 +120,7 @@ static void rna_progress_update(struct wmWindowManager *wm, float value)
 static void rna_progress_end(struct wmWindowManager *wm)
 {
        if (wm_progress_state.is_valid) {
-               WM_cursor_restore(wm->winactive);
+               WM_cursor_modal_restore(wm->winactive);
                wm_progress_state.is_valid = false;
        }
 }