Fixed the report chooser to set the current report when the current report is the search page.

This commit is contained in:
依瑪貓 2023-03-08 22:59:09 +08:00
parent 14d5d1e8d6
commit 62716eb545

View File

@ -76,6 +76,8 @@ class ReportChooser:
for report in self.__reports: for report in self.__reports:
if report.is_active: if report.is_active:
self.current_report = report.title self.current_report = report.title
if self.is_search:
self.current_report = gettext("Search")
@property @property
def __journal(self) -> OptionLink: def __journal(self) -> OptionLink: