-
Notifications
You must be signed in to change notification settings - Fork 80
fix: Improve AI Assistant button signal handling and add debug logging #771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Improve AI Assistant button signal handling and add debug logging #771
Conversation
- Changed button group signal connection from buttonClicked to idClicked to directly receive button ID - Updated onToolButtonClicked() to accept functionId parameter instead of querying sender object - Removed unnecessary QButtonGroup casting and checkedId() call, simplifying the signal handling logic - Added function parameter logging in onAiAssistantSelected() to track AI function selection - Added mode parameter logging bug:https://pms.uniontech.com/bug-view-342841.html
c2a8c50 to
e44ab8b
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dengzhongyuan365-dev, lzwind The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/merge |
|
This pr cannot be merged! (status: unstable) |
|
TAG Bot TAG: 6.6.16 |
ba2d707 to
e44ab8b
Compare
|
/merge |
deepin pr auto review我来对这个代码变更进行详细分析:
建议改进:
总体来说,这次代码变更是一个很好的改进,使代码更加简洁、高效和可维护。 |
|
/forcemerge |
|
This pr cannot be merged! (status: unstable) |
|
This pr force merged! (status: unstable) |
4de2e31
into
linuxdeepin:develop/snipe
bug:https://pms.uniontech.com/bug-view-342841.html