Fix slideshow state not updating after async favorite/save
Update fullscreen button state in _on_fav_done callback so it refreshes after the async download completes, not before.
This commit is contained in:
parent
f06888e11d
commit
4f8b703132
@ -1481,6 +1481,7 @@ class BooruApp(QMainWindow):
|
|||||||
# Only green if actually saved to library, not just cached
|
# Only green if actually saved to library, not just cached
|
||||||
if "Saved" in msg:
|
if "Saved" in msg:
|
||||||
thumbs[index].set_saved_locally(True)
|
thumbs[index].set_saved_locally(True)
|
||||||
|
self._update_fullscreen_state()
|
||||||
|
|
||||||
def closeEvent(self, event) -> None:
|
def closeEvent(self, event) -> None:
|
||||||
self._async_loop.call_soon_threadsafe(self._async_loop.stop)
|
self._async_loop.call_soon_threadsafe(self._async_loop.stop)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user