gui/artwork: Clear __artwork_cur_album when selecting album art
Otherwise the new image will never be updated due to the "did the album change?" check in __artwork_set_pixbuf() Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
This commit is contained in:
parent
160295a6cc
commit
4de869d691
|
@ -141,6 +141,7 @@ void __artwork_select_cover(GtkButton *button)
|
||||||
if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_ACCEPT) {
|
if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_ACCEPT) {
|
||||||
path = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(dialog));
|
path = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(dialog));
|
||||||
album_artwork_import(track->tr_album, path);
|
album_artwork_import(track->tr_album, path);
|
||||||
|
__artwork_cur_album = NULL;
|
||||||
gui_artwork_set_cover();
|
gui_artwork_set_cover();
|
||||||
g_free(path);
|
g_free(path);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue