Commit 8c3a624a authored by nkour's avatar nkour

subj entry to grab focus in single message only if we have jid to sent already

parent fbec47dd
......@@ -971,7 +971,8 @@ def __init__(self, account, to = '', action = '', from_whom = '',
if self.message: # we come from a reply?
self.message_textview.grab_focus()
else: # we write a new message
self.subject_entry.grab_focus()
if to: # do we already have jid?
self.subject_entry.grab_focus()
elif self.action == 'receive':
self.from_whom = from_whom
fjid = from_whom # Full jid of sender (with resource)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment