Skip to content

Commit

Permalink
Playtime: Fix window hiding with action/shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
helgoboss committed Dec 1, 2023
1 parent baa9335 commit 016449c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/src/infrastructure/ui/app/app_instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ impl AppInstance for StandaloneAppInstance {

fn hide(&mut self) -> Result<()> {
self.running_state
.take()
.as_ref()
.ok_or(anyhow!("app was already stopped"))?
.common_state
.hide()
Expand Down

0 comments on commit 016449c

Please sign in to comment.