UI: report if WM_OT_call_menu uses an unknown menu
[blender.git] / source / blender / windowmanager / intern / wm_operators.c
index 45cfd2ca61cbb113b74b1a3555358426ca791c45..add726e53e8a644fe54d4cfb9e5ff4c74a564e3b 100644 (file)
@@ -1985,7 +1985,7 @@ static int wm_call_menu_exec(bContext *C, wmOperator *op)
        char idname[BKE_ST_MAXNAME];
        RNA_string_get(op->ptr, "name", idname);
 
-       uiPupMenuInvoke(C, idname);
+       uiPupMenuInvoke(C, idname, op->reports);
 
        return OPERATOR_CANCELLED;
 }