Skip to content

Commit

Permalink
feat: Activate window when patching finishes
Browse files Browse the repository at this point in the history
Helps let people know that patching is finished.
  • Loading branch information
JuneStepp committed Aug 22, 2024
1 parent c884ce7 commit 8e2bd46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/onelauncher/patch_game_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@ def resetButtons(self) -> None:
logger.info("*** Aborted ***<")
elif self.get_process_arguments() is None:
logger.info("*** Finished ***")
# Let user know that patching is finished if the window isn't currently
# focussed.
self.activateWindow()

def btnStopClicked(self) -> None:
if self.patching_finished:
Expand Down

0 comments on commit 8e2bd46

Please sign in to comment.