fix(ui-new): a Settings change is saved on the way to a screen opened from it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-10-06 20:52:20 +02:00
co-authored by Claude Opus 5.5
parent 0460249579
commit 2a9f900fff
@@ -620,7 +620,7 @@ public:
void onShow() override {
const bool keep = _keep_place; // back from a screen opened here: same row
_keep_place = false;
_dirty = false;
_task->savePrefsIfDirty(_dirty); // a change made before a screen opened from here
_edit_name = false;
_scope_mgmt_active = false;
_scope_rename_idx = -2;