1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

toggle_success_msgbox: Call option_changed; was a TODO.

This change assumes that option change hooks allow a NULL session.
The only one that did not was change_hook_css, which I fixed in
commit 4adcae682f.
This commit is contained in:
Kalle Olavi Niemitalo 2007-01-28 13:48:19 +02:00 committed by Kalle Olavi Niemitalo
parent ff4c103a78
commit 33b2db7053

View File

@ -34,9 +34,8 @@
static void
toggle_success_msgbox(void *dummy)
{
/* TODO: option_changed() */
get_opt_bool("ui.success_msgbox") = !get_opt_bool("ui.success_msgbox");
get_opt_rec(config_options, "ui.success_msgbox")->flags |= OPT_TOUCHED;
option_changed(NULL, get_opt_rec(config_options, "ui.success_msgbox"));
}
void