V0.6 #852
|
@ -883,14 +883,15 @@ class MyForm(QtGui.QMainWindow):
|
||||||
else:
|
else:
|
||||||
where = "toaddress || fromaddress || subject || message"
|
where = "toaddress || fromaddress || subject || message"
|
||||||
|
|
||||||
|
|
||||||
tableWidget.setColumnHidden(0, False)
|
|
||||||
tableWidget.setColumnHidden(1, True)
|
|
||||||
tableWidget.setSortingEnabled(False)
|
tableWidget.setSortingEnabled(False)
|
||||||
|
|
||||||
if tableWidget == self.ui.tableWidgetInboxChans or tableWidget == self.ui.tableWidgetInboxSubscriptions:
|
if tableWidget == self.ui.tableWidgetInboxChans or tableWidget == self.ui.tableWidgetInboxSubscriptions:
|
||||||
|
tableWidget.setColumnHidden(0, True)
|
||||||
|
tableWidget.setColumnHidden(1, False)
|
||||||
xAddress = 'toaddress'
|
xAddress = 'toaddress'
|
||||||
else:
|
else:
|
||||||
|
tableWidget.setColumnHidden(0, False)
|
||||||
|
tableWidget.setColumnHidden(1, True)
|
||||||
xAddress = 'fromaddress'
|
xAddress = 'fromaddress'
|
||||||
|
|
||||||
sqlStatement = '''
|
sqlStatement = '''
|
||||||
|
|
Reference in New Issue
Block a user