Skip to content

Commit

Permalink
gui: fix GoToLinked command for AsmElement
Browse files Browse the repository at this point in the history
  • Loading branch information
realthunder committed Dec 23, 2018
1 parent cfb6934 commit 2e8146f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,8 @@ def Activated(cls):
if isTypeOf(obj,AsmElementLink):
subname = subname[:-4]
else:
subname = subname[:-3]
subname = subname[:-2]
subname[-1] = '2'
link,linkSub = obj.LinkedObject
subname.append(link.Name)
subname = '.'.join(subname+linkSub.split('.'))
Expand Down

0 comments on commit 2e8146f

Please sign in to comment.