Force the sort column when refreshing the results

This commit is contained in:
Olivier Teulière 2010-07-11 20:58:21 +00:00
parent f74e762ee3
commit 9c0ca5835a

View file

@ -141,8 +141,12 @@ void TrainingWidget::updateModel()
return;
}
// Clear the results
m_model->removeRows(0, m_model->rowCount());
// Force the sort column
treeViewResults->sortByColumn(2);
if (m_game == NULL)
return;