GRUB_BOOT_SILENT parameter registering fix

pull/83/head
parent 0bc5e638a2
commit 08c81072d5

@ -419,7 +419,7 @@ void on_parameter_changed(GtkWidget *self,main_window *widgets){
} else if (self == widgets->BootDisplayModeCombo){
char *display_mode = (char*)gtk_combo_box_get_active_id(GTK_COMBO_BOX(widgets->BootDisplayModeCombo));
if (!yon_char_is_empty(display_mode)){
yon_config_register(GRUB_BOOT_SILENT_parameter,GRUB_BOOT_SILENT_parameter,display_mode);
yon_config_register(GRUB_BOOT_SILENT_parameter,GRUB_BOOT_SILENT_command,display_mode);
} else {
yon_config_remove_by_key(GRUB_BOOT_SILENT_parameter);
}

Loading…
Cancel
Save