fix: don't attempt openalias when processing a PR

This commit is contained in:
ThomasV 2015-04-21 09:06:41 +02:00
parent 30bed4c5a9
commit d8ae34ef86
1 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,8 @@ class Plugin(BasePlugin):
return
if self.win.payto_e.is_multiline(): # only supports single line entries atm
return
if self.win.payto_e.is_pr:
return
url = str(self.win.payto_e.toPlainText())
url = url.replace('@', '.') # support email-style addresses, per the OA standard