Fix error when populating single-valued props delegate editor

Change-Id: Iba25c7341cbe6b509326e565941e80ff44c66171
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>