'Save message as...' option in Inbox #226

Merged
Atheros1 merged 5 commits from master into master 2013-06-19 22:51:37 +02:00
Showing only changes of commit 5a10d997f9 - Show all commits

View File

@ -1799,7 +1799,7 @@ class MyForm(QtGui.QMainWindow):
return return
try: try:
f = open(filename, 'w') f = open(filename, 'w')
f.write( self.ui.tableWidgetInbox.item(currentInboxRow,2).data(Qt.UserRole).toPyObject() ) f.write( self.ui.tableWidgetInbox.item(currentInboxRow,2).data(Qt.UserRole).toPyObject() )
f.close() f.close()
except Exception, e: except Exception, e:
print 'Write error' print 'Write error'