mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-11-17 07:48:27 +01:00
Force the sort column when refreshing the results
This commit is contained in:
parent
f74e762ee3
commit
9c0ca5835a
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue