openalias: extra check

This commit is contained in:
ThomasV 2015-04-21 17:42:51 +02:00
parent 69a4ef9d10
commit 2868df74b6
1 changed files with 2 additions and 0 deletions

View File

@ -132,6 +132,8 @@ class Plugin(BasePlugin):
if self.win.payto_e.is_multiline(): # only supports single line entries atm
return False
if self.win.payto_e.is_pr:
return
payto_e = str(self.win.payto_e.toPlainText())
regex = re.compile(r'^([^\s]+) <([A-Za-z0-9]+)>') # only do that for converted addresses
try: