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,9 +63,7 @@ func systrayInitialize(shutdownHandler ShutdownHandler, faviconProvider FaviconP
|
||||||
if item == "markers" {
|
if item == "markers" {
|
||||||
item = "scenes/markers"
|
item = "scenes/markers"
|
||||||
}
|
}
|
||||||
if c.GetNoBrowser() {
|
openURLInBrowser(item)
|
||||||
openURLInBrowser(item)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}(item)
|
}(item)
|
||||||
}
|
}
|
||||||
|
|
@ -83,9 +81,7 @@ func systrayInitialize(shutdownHandler ShutdownHandler, faviconProvider FaviconP
|
||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
case <-openStashButton.ClickedCh:
|
case <-openStashButton.ClickedCh:
|
||||||
if !c.GetNoBrowser() {
|
openURLInBrowser("")
|
||||||
openURLInBrowser("")
|
|
||||||
}
|
|
||||||
case <-quitStashButton.ClickedCh:
|
case <-quitStashButton.ClickedCh:
|
||||||
systray.Quit()
|
systray.Quit()
|
||||||
shutdownHandler.Shutdown(0)
|
shutdownHandler.Shutdown(0)
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
* Improved autotag performance. ([#2368](https://github.com/stashapp/stash/pull/2368))
|
* Improved autotag performance. ([#2368](https://github.com/stashapp/stash/pull/2368))
|
||||||
|
|
||||||
### 🐛 Bug fixes
|
### 🐛 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))
|
* 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))
|
* 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))
|
* Don't generate jpg thumbnails for animated webp files. ([#2388](https://github.com/stashapp/stash/pull/2388))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue