[easytag/wip/musicbrainz-support-merge: 41/75] Clear TagChoiceListStore if Cancel is pressed



commit a0d8fc0b398bd86e5743accc590ed9147a811ca3
Author: Abhinav <abhijangda hotmail com>
Date:   Tue Jul 29 16:06:16 2014 +0530

    Clear TagChoiceListStore if Cancel is pressed
    
    Use gtk_list_store_clear to clear the list store if Cancel is pressed in TagChoiceDialog

 src/musicbrainz_dialog.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/musicbrainz_dialog.c b/src/musicbrainz_dialog.c
index 9df21d0..09980d6 100755
--- a/src/musicbrainz_dialog.c
+++ b/src/musicbrainz_dialog.c
@@ -1653,7 +1653,7 @@ et_apply_track_tag_to_et_file (Mb5Recording recording, ET_File *et_file)
         {
             g_free (artist);
             gtk_widget_hide (mb_dialog_priv->tag_choice_dialog);
-
+            gtk_list_store_clear (GTK_LIST_STORE (mb_dialog_priv->tag_choice_store));
             return FALSE;
         }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]