Fixed added startup services were not chosen

pull/95/head
parent 9a040065cf
commit cd0dc1ea9e
No known key found for this signature in database
GPG Key ID: FF1D842BF4DDE92B

@ -116,7 +116,7 @@ void on_startup_add_accept(GtkWidget *self, main_window *widgets){
}
GtkTreeIter iter;
gtk_list_store_append(widgets->StartupList,&iter);
gtk_list_store_set(widgets->StartupList,&iter,1,unit,2,service,3,description,4,1,-1);
gtk_list_store_set(widgets->StartupList,&iter,0,1,1,unit,2,service,3,description,4,1,-1);
on_subwindow_close(self);
}
@ -133,7 +133,7 @@ void on_startup_edit_accept(GtkWidget *self, main_window *widgets){
yon_ubl_status_highlight_incorrect(window->ServiceEntry);
return;
}
gtk_list_store_set(widgets->StartupList,&iter,1,unit,2,service,3,description,4,1,-1);
gtk_list_store_set(widgets->StartupList,&iter,0,1,1,unit,2,service,3,description,4,1,-1);
}
on_subwindow_close(self);
}

Loading…
Cancel
Save