Fixed journald window crash

pull/89/head
Ivan Yartsev 2 years ago
parent 9bba24e719
commit 9e0e99c342

@ -2133,7 +2133,7 @@ void on_journald_save(GtkWidget *self, journald_window *window){
yon_config_register(JOURNALD("TTYPath"),"logging",TTY); yon_config_register(JOURNALD("TTYPath"),"logging",TTY);
} else { } else {
yon_config_remove_by_key(JOURNALD("ForwardToConsole")); yon_config_remove_by_key(JOURNALD("ForwardToConsole"));
yon_config_register(JOURNALD("TTYPath"),"logging",TTY); yon_config_remove_by_key(JOURNALD("TTYPath"));
} }
if (forwardempty!=0) if (forwardempty!=0)
yon_config_register(JOURNALD("MaxLevelConsole"),"logging",yon_char_from_int(forwardempty-1)); yon_config_register(JOURNALD("MaxLevelConsole"),"logging",yon_char_from_int(forwardempty-1));

Loading…
Cancel
Save