Skip to content

Commit 783e934

Browse files
author
hackcatml
committed
Oops
1 parent ecb2583 commit 783e934

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hexviewer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def contextMenuEvent(self, e: QtGui.QContextMenuEvent) -> None:
380380
self.key = (self.addr, self.args_index) # Use a tuple as the key
381381
# If the key is not in the checkedStates dictionary, add it with a default state of unchecked
382382
if self.key not in self.checkedStates:
383-
self.checkedStates[self.key] = Qt.CheckState.Unchecked
383+
self.checkedStates[self.key] = Qt.CheckState.Unchecked.value
384384
# Set the checked state based on the checkedStates dictionary
385385
on_leave_check.setCheckState(Qt.CheckState(self.checkedStates[self.key]))
386386
# Connect the checkbox's stateChanged signal to a function

0 commit comments

Comments
 (0)