[chronojump] Jumps/Runs treeview Fill filter matches translated names (instead of English names)



commit f9718f1f60962c43cdbe1565bbdcd56a95ffa776
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Aug 2 17:01:10 2021 +0200

    Jumps/Runs treeview Fill filter matches translated names (instead of English names)

 src/treeview/event.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/treeview/event.cs b/src/treeview/event.cs
index 89952957e..6f9b9bd2e 100644
--- a/src/treeview/event.cs
+++ b/src/treeview/event.cs
@@ -177,7 +177,7 @@ public class TreeViewEvent
                        }
 
                        //... but if we selected one type of run and this it's not the type, don't show
-                       if(filter == allEventsName || filter == myStringFull[dataLineTypePosition]) 
+                       if(filter == allEventsName || filter == 
Catalog.GetString(myStringFull[dataLineTypePosition]))
                        {
                                //get the object from the string
                                System.Object myEvent = getObjectFromString(myStringFull);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]