Commit 36ef805bd51ef831aa6ed66a23ea0dfbc60d0c3e

Authored by Sam Ravnborg
1 parent d6fbfa4fce

kconfig: mark config as changed when loading an alternate config

Michal Zachar <mgzachar@mail.t-com.sk> reported that
menuconfig did not save the new config when loading
an alternate config unless he altered it manually.

Mark config as changed upon load of alternate config fixed this.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Roman Zippel <zippel@linux-m68k.org>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

scripts/kconfig/mconf.c
... ... @@ -821,6 +821,7 @@
821 821 return;
822 822 if (!conf_read(dialog_input_result)) {
823 823 set_config_filename(dialog_input_result);
  824 + sym_set_change_count(1);
824 825 return;
825 826 }
826 827 show_textbox(NULL, _("File does not exist!"), 5, 38);