Skip to content
  • Lorenz Haas's avatar
    Wizards: Fix list model wizard's rowCount() · 69143bc3
    Lorenz Haas authored
    
    
    rowCount() must return 0 when the parent is valid: this indicates that
    the list's items has no children and thus it is no tree model. The
    list's size has to be returned for an invalid parent (== the invisible
    root node).
    
    Change-Id: Ieaa884958ea0094aca2232160b6f769bf90514c4
    Reviewed-by: default avatarOrgad Shaneh <orgads@gmail.com>
    69143bc3