Commit 4ccb83d
authored
fix: stop overwriting dirty_settings with an empty dict on init (#65)
SettingsApp.__init__ seeded `self.dirty_settings` from the loaded
settings and then immediately re-bound it to an empty dict, which
silently discarded any persisted values before the UI rendered.
Drop the second assignment so dirty state starts equal to the loaded
settings, as the surrounding comment intended.
Closes #641 parent 8d52a5f commit 4ccb83d
2 files changed
Lines changed: 18 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | | - | |
80 | | - | |
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
| |||
0 commit comments