Skip to content

Commit

Permalink
Always open browser from systray (#2418)
Browse files Browse the repository at this point in the history
  • Loading branch information
WithoutPants authored Mar 24, 2022
1 parent ba41133 commit 23c4642
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 2 additions & 6 deletions internal/desktop/systray_nonlinux.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ func systrayInitialize(shutdownHandler ShutdownHandler, faviconProvider FaviconP
if item == "markers" {
item = "scenes/markers"
}
if c.GetNoBrowser() {
openURLInBrowser(item)
}
openURLInBrowser(item)
}
}(item)
}
Expand All @@ -83,9 +81,7 @@ func systrayInitialize(shutdownHandler ShutdownHandler, faviconProvider FaviconP
for {
select {
case <-openStashButton.ClickedCh:
if !c.GetNoBrowser() {
openURLInBrowser("")
}
openURLInBrowser("")
case <-quitStashButton.ClickedCh:
systray.Quit()
shutdownHandler.Shutdown(0)
Expand Down
1 change: 1 addition & 0 deletions ui/v2.5/src/components/Changelog/versions/v0140.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* Improved autotag performance. ([#2368](https://github.com/stashapp/stash/pull/2368))

### 🐛 Bug fixes
* Fix Open Stash systray menu item not opening stash when Skip Opening Browser was enabled. ([#2418](https://github.com/stashapp/stash/pull/2418))
* Fix error saving a scene from the tagger when the scene has stash ids. ([#2408](https://github.com/stashapp/stash/pull/2408))
* Perform tag pattern exclusion on stash-box sources. ([#2391](https://github.com/stashapp/stash/pull/2391))
* Don't generate jpg thumbnails for animated webp files. ([#2388](https://github.com/stashapp/stash/pull/2388))
Expand Down

0 comments on commit 23c4642

Please sign in to comment.