Fix warning about truncation from int to bool in resource  editor.

Change-Id: Id7ea03b27e9fd36e5f452736e81992089dfc73b5
Reviewed-by: Daniel Teske <daniel.teske@digia.com>