subj entry to grab focus in single message only if we have jid to sent already
This commit is contained in:
parent
fbec47dd3f
commit
8c3a624a77
1 changed files with 2 additions and 1 deletions
|
@ -971,7 +971,8 @@ class SingleMessageWindow:
|
||||||
if self.message: # we come from a reply?
|
if self.message: # we come from a reply?
|
||||||
self.message_textview.grab_focus()
|
self.message_textview.grab_focus()
|
||||||
else: # we write a new message
|
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':
|
elif self.action == 'receive':
|
||||||
self.from_whom = from_whom
|
self.from_whom = from_whom
|
||||||
fjid = from_whom # Full jid of sender (with resource)
|
fjid = from_whom # Full jid of sender (with resource)
|
||||||
|
|
Loading…
Add table
Reference in a new issue