Mark option changed in "File extensions -> Add".
commit4d06362a503bd722f9bded6f7ae8afac14060c9b
authorKalle Olavi Niemitalo <kon@iki.fi>
Tue, 4 Mar 2008 07:09:49 +0000 (4 09:09 +0200)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Tue, 4 Mar 2008 21:33:05 +0000 (4 23:33 +0200)
treeddf16f71e55956250c6de5a9aeb1691878cda0e1
parent0c9c7770b7fd6c7d7bec1b1592e568fafa7d0005
Mark option changed in "File extensions -> Add".

Previously, file extensions added or modified via the menu did not get
saved to elinks.conf when config.saving_style was 3 (the default).
This patch makes the file-extension dialog box call option_changed,
which then sets OPT_TOUCHED, so that the option appears modified in
the option manager and will be saved.

Reported and patch reviewed by Witold Filipczyk.
src/mime/dialogs.c