Always open browser from systray (#2418)

This commit is contained in:
WithoutPants 2022-03-24 12:13:22 +11:00 committed by GitHub
parent ba41133745
commit 23c46423be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 6 deletions

View file

@ -63,9 +63,7 @@ func systrayInitialize(shutdownHandler ShutdownHandler, faviconProvider FaviconP
if item == "markers" {
item = "scenes/markers"
}
if c.GetNoBrowser() {
openURLInBrowser(item)
}
openURLInBrowser(item)
}
}(item)
}
@ -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)

View file

@ -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))