filter fix
[lttv.git] / ltt / branches / poly / lttv / modules / gui / lttvwindow / lttvwindow / callbacks.c
index d30a490da2399f450e6b683dd00f1ff957011a30..5ded4686fff86ea56aedec51c7b3d73439f823fa 100644 (file)
@@ -4122,10 +4122,7 @@ 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 */
-               if(copy_tab->filter != NULL)
-           tab->filter = lttv_filter_clone(copy_tab->filter);
-               else
-                       tab->filter = NULL;
+    tab->filter = lttv_filter_clone(copy_tab->filter);
 
   } else {
     tab->traceset_info->traceset = lttv_traceset_new();
This page took 0.023975 seconds and 4 git commands to generate.