mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -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:
parent
ff4c103a78
commit
33b2db7053
@ -34,9 +34,8 @@
|
|||||||
static void
|
static void
|
||||||
toggle_success_msgbox(void *dummy)
|
toggle_success_msgbox(void *dummy)
|
||||||
{
|
{
|
||||||
/* TODO: option_changed() */
|
|
||||||
get_opt_bool("ui.success_msgbox") = !get_opt_bool("ui.success_msgbox");
|
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
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user