More valgrinding and fixing a serious mem leak - Alex
[terminatorX.git] / src / tX_vttgui.cc
index c6c036a33ccc1363bad8f05d10ddab9599a9e3c2..1433ab1b1e1352d91f480158d3b26cdb811552bb 100644 (file)
@@ -302,8 +302,9 @@ GtkSignalFunc load_file(GtkWidget *wid, vtt_class *vtt)
 void delete_vtt(GtkWidget *wid, vtt_class *vtt)
 {
        if (audioon) tx_note("Sorry, you'll have to stop playback first.");
-       else
-       delete(vtt);
+       else delete(vtt);
+               
+       mg_update_status();
 }
 
 void edit_vtt_buffer(GtkWidget *wid, vtt_class *vtt)