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:
Anna Schumaker 2016-07-27 10:48:13 -04:00
parent 160295a6cc
commit 4de869d691
1 changed files with 1 additions and 0 deletions

View File

@ -141,6 +141,7 @@ void __artwork_select_cover(GtkButton *button)
if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_ACCEPT) {
path = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(dialog));
album_artwork_import(track->tr_album, path);
__artwork_cur_album = NULL;
gui_artwork_set_cover();
g_free(path);
}