Fix PropertyEditor bugs after refactoring

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