Skip to content

Commit

Permalink
Re #7327 Change item order
Browse files Browse the repository at this point in the history
  • Loading branch information
mdoucet committed Jun 21, 2013
1 parent 507ad8e commit 2eb2609
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,12 @@ def _update_content(self):
self._content.job_table.setItem(i, 3, item)

# Completion time
item = QtGui.QTableWidgetItem(str(job_list[i][4]))
item = QtGui.QTableWidgetItem(str(job_list[i][4]).replace('T', ' '))
item.setFlags(QtCore.Qt.ItemIsSelectable |QtCore.Qt.ItemIsEnabled )
self._content.job_table.setItem(i, 4, item)

self._content.job_table.setSortingEnabled(True)
self._content.job_table.sortItems(0)
self._content.job_table.sortItems(0, 1)

def get_state(self):
return RemoteJobs()

0 comments on commit 2eb2609

Please sign in to comment.