mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
Always open browser from systray (#2418)
This commit is contained in:
parent
ba41133745
commit
23c46423be
2 changed files with 3 additions and 6 deletions
|
|
@ -63,10 +63,8 @@ func systrayInitialize(shutdownHandler ShutdownHandler, faviconProvider FaviconP
|
|||
if item == "markers" {
|
||||
item = "scenes/markers"
|
||||
}
|
||||
if c.GetNoBrowser() {
|
||||
openURLInBrowser(item)
|
||||
}
|
||||
}
|
||||
}(item)
|
||||
}
|
||||
systray.AddSeparator()
|
||||
|
|
@ -83,9 +81,7 @@ func systrayInitialize(shutdownHandler ShutdownHandler, faviconProvider FaviconP
|
|||
for {
|
||||
select {
|
||||
case <-openStashButton.ClickedCh:
|
||||
if !c.GetNoBrowser() {
|
||||
openURLInBrowser("")
|
||||
}
|
||||
case <-quitStashButton.ClickedCh:
|
||||
systray.Quit()
|
||||
shutdownHandler.Shutdown(0)
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue