filter fix
[lttv.git] / ltt / branches / poly / lttv / modules / gui / lttvwindow / lttvwindow / callbacks.c
index 5ded4686fff86ea56aedec51c7b3d73439f823fa..063b7cf2b62a590b75faf71d1b118ba8161938dd 100644 (file)
@@ -4122,7 +4122,8 @@ Tab* create_tab(MainWindow * mw, Tab *copy_tab,
     /* Copy the previous tab's filter */
     /* We can clone the filter, as we copy the trace set also */
     /* The filter must always be in sync with the trace set */
-    tab->filter = lttv_filter_clone(copy_tab->filter);
+               if(copy_tab->filter != NULL)
+           tab->filter = lttv_filter_clone(copy_tab->filter);
 
   } else {
     tab->traceset_info->traceset = lttv_traceset_new();
This page took 0.022529 seconds and 4 git commands to generate.