V0.6 #852

Merged
Atheros1 merged 399 commits from v0.6 into master 2016-05-03 01:58:38 +02:00
Showing only changes of commit 657eeeb1ca - Show all commits

View File

@ -915,8 +915,7 @@ class MyForm(QtGui.QMainWindow):
ORDER BY lastactiontime ORDER BY lastactiontime
''' % (where,) ''' % (where,)
while tableWidget.rowCount() > 0: tableWidget.setRowCount(0)
tableWidget.removeRow(0)
acct = None acct = None
queryreturn = sqlQuery(sqlStatement, account, what) queryreturn = sqlQuery(sqlStatement, account, what)
for row in queryreturn: for row in queryreturn:
@ -1040,8 +1039,7 @@ class MyForm(QtGui.QMainWindow):
''' % (where) ''' % (where)
queryreturn = sqlQuery(sqlStatement, account, what) queryreturn = sqlQuery(sqlStatement, account, what)
while tableWidget.rowCount() > 0: tableWidget.setRowCount(0)
tableWidget.removeRow(0)
tableWidget.setColumnHidden(0, True) tableWidget.setColumnHidden(0, True)
tableWidget.setColumnHidden(1, False) tableWidget.setColumnHidden(1, False)