/[xmltv_parser]/trunk/xmltv_parser/main.cs
ViewVC logotype

Diff of /trunk/xmltv_parser/main.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/xmltv_parser/main.cs	2013/03/13 15:39:18	132
+++ trunk/xmltv_parser/main.cs	2013/03/13 15:48:38	133
@@ -304,7 +304,9 @@
 
         private void btnFilter_Click(object sender, EventArgs e)
         {
-            object data = dataGrid.DataSource;
+            Type data_type;
+            // grab the data from the master source
+            object data = XMLTV.CreateBindingSourceFromData(XMLTV.GetPrograms(), out data_type);
             if (radio_filter_channelname.Checked)
             {
                 XMLTV.CreateFilterFromDataSource(ref data, "channelname", txtFilterText.Text);

 

  ViewVC Help
Powered by ViewVC 1.1.22