Disable label rerendering in messagelist
It's broken and just consumes resources. I'll fix it separately.
This commit is contained in:
parent
469c822409
commit
e4078d427a
|
@ -1980,6 +1980,7 @@ class MyForm(settingsmixin.SMainWindow):
|
||||||
os._exit(0)
|
os._exit(0)
|
||||||
|
|
||||||
def rerenderInboxFromLabels(self):
|
def rerenderInboxFromLabels(self):
|
||||||
|
return
|
||||||
for i in range(self.ui.tableWidgetInbox.rowCount()):
|
for i in range(self.ui.tableWidgetInbox.rowCount()):
|
||||||
addressToLookup = self.ui.tableWidgetInbox.item(
|
addressToLookup = self.ui.tableWidgetInbox.item(
|
||||||
i, 1).data(Qt.UserRole)
|
i, 1).data(Qt.UserRole)
|
||||||
|
@ -2020,6 +2021,7 @@ class MyForm(settingsmixin.SMainWindow):
|
||||||
|
|
||||||
|
|
||||||
def rerenderInboxToLabels(self):
|
def rerenderInboxToLabels(self):
|
||||||
|
return
|
||||||
for i in range(self.ui.tableWidgetInbox.rowCount()):
|
for i in range(self.ui.tableWidgetInbox.rowCount()):
|
||||||
toAddress = self.ui.tableWidgetInbox.item(
|
toAddress = self.ui.tableWidgetInbox.item(
|
||||||
i, 0).data(Qt.UserRole)
|
i, 0).data(Qt.UserRole)
|
||||||
|
@ -2043,6 +2045,7 @@ class MyForm(settingsmixin.SMainWindow):
|
||||||
i, 0).setTextColor(QApplication.palette().text().color())
|
i, 0).setTextColor(QApplication.palette().text().color())
|
||||||
|
|
||||||
def rerenderSentFromLabels(self):
|
def rerenderSentFromLabels(self):
|
||||||
|
return
|
||||||
for i in range(self.ui.tableWidgetInbox.rowCount()):
|
for i in range(self.ui.tableWidgetInbox.rowCount()):
|
||||||
fromAddress = self.ui.tableWidgetInbox.item(
|
fromAddress = self.ui.tableWidgetInbox.item(
|
||||||
i, 1).data(Qt.UserRole)
|
i, 1).data(Qt.UserRole)
|
||||||
|
@ -2057,6 +2060,7 @@ class MyForm(settingsmixin.SMainWindow):
|
||||||
i, 1).setIcon(avatarize(fromAddress))
|
i, 1).setIcon(avatarize(fromAddress))
|
||||||
|
|
||||||
def rerenderSentToLabels(self):
|
def rerenderSentToLabels(self):
|
||||||
|
return
|
||||||
for i in range(self.ui.tableWidgetInbox.rowCount()):
|
for i in range(self.ui.tableWidgetInbox.rowCount()):
|
||||||
addressToLookup = self.ui.tableWidgetInbox.item(
|
addressToLookup = self.ui.tableWidgetInbox.item(
|
||||||
i, 0).data(Qt.UserRole)
|
i, 0).data(Qt.UserRole)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user