mi-info: reset toc info when we did not get disco info
authorStefan Sauer <ensonic@users.sf.net>
Tue, 1 Oct 2013 05:48:20 +0000 (07:48 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Thu, 3 Oct 2013 20:24:35 +0000 (22:24 +0200)
mediainfo/src/mi-info.vala

index 2b9374f..9669706 100644 (file)
@@ -346,6 +346,7 @@ public class MediaInfo.Info : Box
     }
 
     if (info == null) {
+      toc_entries.set_model (null);
       duration.set_text ("");
       return;
     }