[chronojump] Fixed import since last commits



commit 1ad25fe2ddbc913b7894964f1960cc5c2ce7d942
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Jun 30 07:46:14 2020 +0200

    Fixed import since last commits

 src/sqlite/session.cs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/sqlite/session.cs b/src/sqlite/session.cs
index d55a47d3..6cb68d96 100644
--- a/src/sqlite/session.cs
+++ b/src/sqlite/session.cs
@@ -78,7 +78,7 @@ public class SqliteSessionSwitcher
                        List<string> filteredSessions = new List<string> ();
                        foreach(string session in allSessions)
                        {
-                               if (type == DatabaseType.IMPORT && session.Split (':') [1] != "SIMULATED")
+                               if (type == DatabaseType.IMPORT && session.Split (':') [1] == "SIMULATED")
                                        continue;
 
                                filteredSessions.Add (session);
@@ -658,7 +658,6 @@ class SqliteSession : Sqlite
                        reader_re.Close();
                }
 
-
                //mix ten arrayLists
                string [] mySessions = new string[count];
                count =0;


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