From 5e724af0cd4e3892796dec912bcc9d30f8423e11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20=C5=BBuk?= Date: Tue, 19 Apr 2022 10:58:11 +0200 Subject: [PATCH] fix: gui - highlight source code when selecting opcode --- brownie/_gui/opcodes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/brownie/_gui/opcodes.py b/brownie/_gui/opcodes.py index d2fb5f716..dba38025d 100755 --- a/brownie/_gui/opcodes.py +++ b/brownie/_gui/opcodes.py @@ -118,7 +118,8 @@ def _select_bind(self, event=None): if "path" not in pcMap: note.active_frame().clear_highlight() return - note.set_active(pcMap["path"]) + label = self.root.pathMap[pcMap["path"]] + note.set_active(label) note.active_frame().highlight(*pcMap["offset"]) def _seek(self, event):