Editor views: fix issue with unsplittable editors

Task-number: QTCREATORBUG-9843

Change-Id: If25196f727f5cc573560fa69f69c645eba00b0d0
Reviewed-by: Eike Ziller <eike.ziller@digia.com>