fixed write_msg mail_id var
This commit is contained in:
parent
7208af179e
commit
f0c7c51cdd
|
@ -219,10 +219,10 @@ class MailDetail(Screen): # pylint: disable=too-many-instance-attributes
|
||||||
|
|
||||||
def write_msg(self, navApp):
|
def write_msg(self, navApp):
|
||||||
"""Write on draft mail"""
|
"""Write on draft mail"""
|
||||||
state.send_draft_mail = state.mail_id
|
state.send_draft_mail = self.kivy_state.mail_id
|
||||||
data = sqlQuery(
|
data = sqlQuery(
|
||||||
"select toaddress, fromaddress, subject, message from sent where"
|
"select toaddress, fromaddress, subject, message from sent where"
|
||||||
" ackdata = ?;", state.mail_id)
|
" ackdata = ?;", self.kivy_state.mail_id)
|
||||||
composer_ids = (
|
composer_ids = (
|
||||||
self.parent.parent.ids.sc3.children[1].ids)
|
self.parent.parent.ids.sc3.children[1].ids)
|
||||||
composer_ids.ti.text = data[0][1]
|
composer_ids.ti.text = data[0][1]
|
||||||
|
|
Reference in New Issue
Block a user