Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
bb6a8772
Commit
bb6a8772
authored
Apr 13, 2011
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set display_name to None on accounts when it's an empty string
parent
7d2d2c8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
accounts.py
blink/accounts.py
+2
-2
No files found.
blink/accounts.py
View file @
bb6a8772
...
...
@@ -352,7 +352,7 @@ class AddAccountDialog(base_class, ui_class):
if
self
.
panel_view
.
currentWidget
()
is
self
.
add_account_panel
:
account
=
Account
(
self
.
sip_address
)
account
.
enabled
=
True
account
.
display_name
=
self
.
display_name
account
.
display_name
=
self
.
display_name
or
None
account
.
auth
.
password
=
self
.
password
account
.
save
()
account_manager
=
AccountManager
()
...
...
@@ -453,7 +453,7 @@ class AddAccountDialog(base_class, ui_class):
except
DuplicateIDError
:
account
=
account_manager
.
get_account
(
response_data
[
'sip_address'
])
account
.
enabled
=
True
account
.
display_name
=
display_name
account
.
display_name
=
display_name
or
None
account
.
auth
.
password
=
password
account
.
sip
.
outbound_proxy
=
response_data
[
'outbound_proxy'
]
account
.
nat_traversal
.
msrp_relay
=
response_data
[
'msrp_relay'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment