Skip to content
Permalink
Browse files

backport e04570c

  • Loading branch information
tomkralidis committed Feb 23, 2015
1 parent 418eff9 commit 22efb06b9a62d979b5d8361ebfee6c19b9f9f647
Showing with 5 additions and 0 deletions.
  1. +5 −0 python/plugins/MetaSearch/dialogs/newconnectiondialog.py
@@ -57,6 +57,11 @@ def accept(self):
self.tr('Both Name and URL must be provided'))
return

if '/' in conn_name:
QMessageBox.warning(self, self.tr('Save connection'),
self.tr('Name cannot contain \'/\''))
return

if conn_name is not None:
key = '/MetaSearch/%s' % conn_name
keyurl = '%s/url' % key

0 comments on commit 22efb06

Please sign in to comment.
You can’t perform that action at this time.