Skip to content

Commit

Permalink
fix: prevent missing overlay in SW mode
Browse files Browse the repository at this point in the history
  • Loading branch information
vzhd1701 committed Jul 22, 2022
1 parent 7247d57 commit 28378f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gridplayer/widgets/video_block.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,9 @@ def ui_setup(self):
self.layout_main.addWidget(self.video_driver)
self.layout_main.addWidget(self.overlay)

if type(self.overlay) == OverlayBlock: # noqa: WPS516
self.overlay.raise_()

def crash(self, traceback_txt):
raise PlayerException(traceback_txt)

Expand Down

0 comments on commit 28378f7

Please sign in to comment.