-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: [search functionality] Resolve issue with empty editor content
This commit addresses a bug where the search functionality would not work when the editor content was empty. The following changes were made: - Changed the `channelData` type to `std::optional<QString>` to handle cases where there may not be any data to send. These changes ensure that the search operation can gracefully handle empty input, improving the overall robustness of the search feature. Log: Fix search issue when editor content is empty Bug: https://pms.uniontech.com/bug-view-298499.html
- Loading branch information
Showing
3 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters