Commit ee5b93c
committed
Fix spurious save prompt when no changes are made
When running menuconfig without an existing .config file, the save
dialog was incorrectly shown even when the user made no changes.
The issue was in _load_config() which returned True when .config was
missing, causing _conf_changed to be initialized to True. This meant
any exit would trigger the save prompt.1 parent 0cab004 commit ee5b93c
File tree
1 file changed
+4
-4
lines changed1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
810 | 810 | | |
811 | 811 | | |
812 | 812 | | |
813 | | - | |
814 | | - | |
| 813 | + | |
| 814 | + | |
815 | 815 | | |
816 | 816 | | |
817 | 817 | | |
818 | | - | |
819 | | - | |
| 818 | + | |
| 819 | + | |
820 | 820 | | |
821 | 821 | | |
822 | 822 | | |
| |||
0 commit comments