This document presents a new software-based dead-time compensator for grid-connected PV inverters that uses predictive current controllers. It reviews a nonlinear dead-time disturbance model to generate a feed-forward compensation signal that eliminates current distortion around zero crossings caused by clamping effects. It also proposes a novel closed-loop adaptive scheme to fine tune the compensation model parameters in real time, ensuring accuracy under highly varying operating conditions in PV systems due to changing insolation, temperature and shadowing. Experimental results from a 5kW PV system prototype demonstrate its effectiveness.