fix: update save state#206
Conversation
c31c34e to
abddda1
Compare
log: Remove premature _dirty=0 assignments before save calls so that setDirty(false) can properly emit dirtyChanged after a successful save, allowing the tab title * prefix to be cleared. pms: bug-364361
deepin pr auto review你好!我是CodeGeeX,你的智能编程助手。我已经仔细审查了你提供的Git Diff内容。本次修改主要涉及文件保存逻辑和脏标志(dirty flag)的时序调整,以及页面标题的更新。 以下是我对本次代码变更的详细审查意见,分为语法逻辑、代码质量、代码性能和代码安全四个方面: 1. 语法与逻辑
2. 代码质量
3. 代码性能
4. 代码安全
总结本次代码修改的核心逻辑(延迟脏标志的清除)是合理的,但最关键的问题在于保存成功后脏标志是否会被正确清除。请务必检查 |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: JWWTSL, 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 |
|
/forcemerge |
log: Remove premature _dirty=0 assignments before save calls so that setDirty(false) can properly emit dirtyChanged after a successful save, allowing the tab title * prefix to be cleared.
pms: bug-364361