Skip to content
Permalink
Browse files
[MetaSearch] Allow to delete username and password
  • Loading branch information
agiudiceandrea authored and nyalldawson committed Apr 27, 2021
1 parent 746495f commit ca22c474c36baf3c34c7a5ee28d72575b69dacdb
Showing with 2 additions and 4 deletions.
  1. +2 −4 python/plugins/MetaSearch/dialogs/newconnectiondialog.py
@@ -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)

0 comments on commit ca22c47

Please sign in to comment.