[FR] TableHeaderComponent::resetSortFlags()

When you create and make visible a TableListBox the sort caret(s) aren’t visible for a header until you click on one of the sortable headers. If I have a TableListBox which can be repopulated with new data I want to reset/hide the caret… the only way to do that is by using a custom LookAndFeel… but it would be better if we could have a public method:

void TableHeaderComponent::resetSortFlags()
{
    for (int i = columns.size(); --i >= 0;)
        columns.getUnchecked(i)->propertyFlags &= ~(sortedForwards | sortedBackwards);
}

Thanks,

Rail