History

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.

Sam Ravnborg committed 18 years ago

Commit 36ef8051 parent d6fbfa41 file · +1 −0Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t