Skip to content

Commit

Permalink
Actually handle the sound parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
DevilXD committed Jan 15, 2024
1 parent caecef4 commit f125bf0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -2111,7 +2111,8 @@ def save(self, *, force: bool = False) -> None:
def grab_attention(self, *, sound: bool = True):
self.tray.restore()
self._root.focus_force()
self._root.bell()
if sound:
self._root.bell()

def set_games(self, games: abc.Iterable[Game]) -> None:
self.settings.set_games(games)
Expand Down

0 comments on commit f125bf0

Please sign in to comment.