Skip to content

Commit

Permalink
Fix qlinear_viewer to avoid error on wheelEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
xxr0ss committed Aug 8, 2023
1 parent 15d09bc commit 7e4175f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions angrmanagement/ui/widgets/qlinear_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,9 @@ def prepare_objects(self, offset, start_line=0):
if offset == self._offset and start_line == self._start_line_in_object:
return

# make sure self._offset is not None after return
self._offset = offset

# Convert the offset to memory region
base_offset: int
mr: MemoryRegion
Expand Down

0 comments on commit 7e4175f

Please sign in to comment.