Set edit window title to manga name
This commit is contained in:
parent
207fc31204
commit
ca2dd74798
1 changed files with 2 additions and 0 deletions
|
@ -217,6 +217,8 @@ set_manga_id(EomEditWindow *self, gint manga_id)
|
||||||
manga = data_get_manga_by_id(manga_id);
|
manga = data_get_manga_by_id(manga_id);
|
||||||
data_get_volumes_for_manga(manga);
|
data_get_volumes_for_manga(manga);
|
||||||
self->manga = manga;
|
self->manga = manga;
|
||||||
|
|
||||||
|
gtk_window_set_title(GTK_WINDOW(self), manga->name);
|
||||||
gtk_entry_set_text(GTK_ENTRY(self->name_entry), manga->name);
|
gtk_entry_set_text(GTK_ENTRY(self->name_entry), manga->name);
|
||||||
|
|
||||||
txt = g_strdup_printf("%d", manga->current_qty);
|
txt = g_strdup_printf("%d", manga->current_qty);
|
||||||
|
|
Loading…
Reference in a new issue