QmlDesigner: Fix duplicate condition

Change-Id: I06637477487daf8b071bbffa4f5007dc0e7d7e6f
Reviewed-by: Marco Bubke <marco.bubke@digia.com>