Commit bf616cbf authored by Luci Stanescu's avatar Luci Stanescu

Improved error message

parent a0f03265
......@@ -366,7 +366,7 @@ class AddAccountDialog(base_class, ui_class):
elif not self.sip_address_editor.text_correct:
self.add_status_label.value = Status("SIP address should be specified as user@domain", color=red)
elif not self.sip_address_editor.text_allowed:
self.add_status_label.value = Status("SIP address in use by another account", color=red)
self.add_status_label.value = Status("An account with this SIP address was already added", color=red)
elif not self.password_editor.text_valid:
self.add_status_label.value = Status("Password cannot be empty", color=red)
else:
......
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