Skip to content
Snippets Groups Projects
Commit 82047ee3 authored by inso's avatar inso
Browse files

Fix regex of #331

parent ee2e5b30
No related branches found
No related tags found
No related merge requests found
......@@ -146,7 +146,7 @@ class ProcessConfigureAccount(QDialog, Ui_AccountConfigurationDialog):
# Set up the user interface from Designer.
super().__init__()
self.setupUi(self)
regexp = QRegExp('^([ a-zA-Z0-9-_:/;*?\[\]\(\)\\\?!^+=@&~#{}|<>%.]{0,255})$')
regexp = QRegExp('[A-Za-z0-9_-]*')
validator = QRegExpValidator(regexp)
self.edit_account_name.setValidator(validator)
self.account = account
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment