mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-01 10:21:59 +00:00
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:
@@ -620,7 +620,7 @@ public:
|
|||||||
void onShow() override {
|
void onShow() override {
|
||||||
const bool keep = _keep_place; // back from a screen opened here: same row
|
const bool keep = _keep_place; // back from a screen opened here: same row
|
||||||
_keep_place = false;
|
_keep_place = false;
|
||||||
_dirty = false;
|
_task->savePrefsIfDirty(_dirty); // a change made before a screen opened from here
|
||||||
_edit_name = false;
|
_edit_name = false;
|
||||||
_scope_mgmt_active = false;
|
_scope_mgmt_active = false;
|
||||||
_scope_rename_idx = -2;
|
_scope_rename_idx = -2;
|
||||||
|
|||||||
Reference in New Issue
Block a user