Skip to content

Commit

Permalink
Update processmodels.py
Browse files Browse the repository at this point in the history
Closes SECFORCE#14.
  • Loading branch information
st3r30byt3 committed Jan 16, 2015
1 parent 63e4a48 commit 4556ba5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/processmodels.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,12 @@ def data(self, index, role): # this method takes care of how the inform
def sort(self, Ncol, order):
self.emit(SIGNAL("layoutAboutToBeChanged()"))
array=[]

if Ncol == 3:
for i in range(len(self.__processes)):
array.append(self.__processes[i]['name'])

if Ncol == 4:
elif Ncol == 4:
for i in range(len(self.__processes)):
array.append(self.__processes[i]['tabtitle'])

Expand Down

0 comments on commit 4556ba5

Please sign in to comment.