Click on inactive tab

Would cause exception.
This commit is contained in:
mailchuck 2015-11-12 01:43:06 +01:00 committed by Peter Surda
parent 0e15b246af
commit f68627158d

View File

@ -3874,6 +3874,8 @@ class MyForm(settingsmixin.SMainWindow):
def tableWidgetInboxItemClicked(self): def tableWidgetInboxItemClicked(self):
folder = self.getCurrentFolder() folder = self.getCurrentFolder()
messageTextedit = self.getCurrentMessageTextedit() messageTextedit = self.getCurrentMessageTextedit()
if not messageTextedit:
return
queryreturn = [] queryreturn = []
message = "" message = ""