no need to assign to local unused var
This commit is contained in:
parent
b94f13a0eb
commit
b43220a6e9
|
@ -703,7 +703,7 @@ class NewMessageDialog:
|
||||||
title = _('New Message')
|
title = _('New Message')
|
||||||
prompt_text = _('Fill in the contact ID of the contact you would like\nto send a chat message to:')
|
prompt_text = _('Fill in the contact ID of the contact you would like\nto send a chat message to:')
|
||||||
|
|
||||||
instance = InputDialog(title, prompt_text, is_modal = False, ok_handler = self.new_message_response)
|
InputDialog(title, prompt_text, is_modal = False, ok_handler = self.new_message_response)
|
||||||
|
|
||||||
def new_message_response(self, jid):
|
def new_message_response(self, jid):
|
||||||
''' called when ok button is clicked '''
|
''' called when ok button is clicked '''
|
||||||
|
|
Loading…
Reference in New Issue