Skip to content

Commit

Permalink
Extend tests for FileWidget Context Menu (#924)
Browse files Browse the repository at this point in the history
Extend tests for FileWidget Context Menu
  • Loading branch information
tov101 authored Oct 18, 2023
1 parent e16e244 commit efdbc8e
Show file tree
Hide file tree
Showing 4 changed files with 857 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/asammdf/gui/widgets/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ def open_menu(self):
for item in self.selectedItems():
if item.type() == ChannelsTreeItem.Channel:
while True:
rgb = random.randbytes(3)
rgb = os.urandom(3)
if 100 <= sum(rgb) <= 650:
break

Expand Down
Loading

0 comments on commit efdbc8e

Please sign in to comment.