mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-02-02 08:09:13 +00:00
fix: ensure initial browsing state uses UI values (#1008)
This commit is contained in:
committed by
GitHub
parent
940617cd63
commit
4653eb2a04
@@ -1760,7 +1760,12 @@ class QtDriver(DriverMixin, QObject):
|
||||
self.main_window.preview_panel.set_selection(self.selected)
|
||||
|
||||
# page (re)rendering, extract eventually
|
||||
self.update_browsing_state()
|
||||
initial_state = BrowsingState(
|
||||
page_index=0,
|
||||
sorting_mode=self.main_window.sorting_mode,
|
||||
ascending=self.main_window.sorting_direction,
|
||||
)
|
||||
self.update_browsing_state(initial_state)
|
||||
|
||||
self.main_window.toggle_landing_page(enabled=False)
|
||||
return open_status
|
||||
|
||||
Reference in New Issue
Block a user