Navigation Menu

Skip to content

Commit

Permalink
[MetaSearch] Allow to delete username and password
Browse files Browse the repository at this point in the history
  • Loading branch information
agiudiceandrea authored and nyalldawson committed Apr 27, 2021
1 parent 746495f commit ca22c47
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions python/plugins/MetaSearch/dialogs/newconnectiondialog.py
Expand Up @@ -89,10 +89,8 @@ def accept(self):
self.settings.setValue(keyurl, conn_url)
self.settings.setValue('/MetaSearch/selected', conn_name)

if conn_username != '':
self.settings.setValue('%s/username' % key, conn_username)
if conn_password != '':
self.settings.setValue('%s/password' % key, conn_password)
self.settings.setValue('%s/username' % key, conn_username)
self.settings.setValue('%s/password' % key, conn_password)

QDialog.accept(self)

Expand Down

0 comments on commit ca22c47

Please sign in to comment.