Skip to content

Commit

Permalink
Make fill bytes properly undoable
Browse files Browse the repository at this point in the history
  • Loading branch information
lwerdna committed Jan 25, 2024
1 parent 6c636ef commit 5813c45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion keypatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,8 @@ def fill(self):

# write it
#print('writing 0x%X bytes to 0x%X' % (len(data), left))
self.bview.write(left, data)
with self.bview.undoable_transaction():
self.bview.write(left, data)

# ------------------------------------------------------------------------------
# search tool
Expand Down

0 comments on commit 5813c45

Please sign in to comment.