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:
if report.is_active:
self.current_report = report.title
if self.is_search:
self.current_report = gettext("Search")
@property
def __journal(self) -> OptionLink: