Skip to content

Commit

Permalink
backport e04570c
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Feb 23, 2015
1 parent 912c926 commit a414855
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/plugins/MetaSearch/dialogs/newconnectiondialog.py
Expand Up @@ -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
Expand Down

0 comments on commit a414855

Please sign in to comment.