[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] eliot/qt training_widget.cpp
From: |
Olivier Teulière |
Subject: |
[Eliot-dev] eliot/qt training_widget.cpp |
Date: |
Sun, 11 Jul 2010 20:58:21 +0000 |
CVSROOT: /cvsroot/eliot
Module name: eliot
Changes by: Olivier Teulière <ipkiss> 10/07/11 20:58:21
Modified files:
qt : training_widget.cpp
Log message:
Force the sort column when refreshing the results
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/eliot/qt/training_widget.cpp?cvsroot=eliot&r1=1.16&r2=1.17
Patches:
Index: training_widget.cpp
===================================================================
RCS file: /cvsroot/eliot/eliot/qt/training_widget.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- training_widget.cpp 11 Jul 2010 20:58:03 -0000 1.16
+++ training_widget.cpp 11 Jul 2010 20:58:21 -0000 1.17
@@ -141,8 +141,12 @@
return;
}
+ // Clear the results
m_model->removeRows(0, m_model->rowCount());
+ // Force the sort column
+ treeViewResults->sortByColumn(2);
+
if (m_game == NULL)
return;