[chronojump/importer-encoder-files: 3/4] Deletes code added in master in c74f12167e74eb8a3a6a6cdd82a73ef7d72ab17f



commit 56a0e86fdae2b366c9a9f2df44f2265fb99202e9
Author: Carles Pina i Estany <carles pina cat>
Date:   Fri Oct 7 13:18:49 2016 +0200

    Deletes code added in master in c74f12167e74eb8a3a6a6cdd82a73ef7d72ab17f
    
    The reason is that this code crashed when the user imported a new
    session from Encoder mode (probably from Run mode as well).

 src/gui/chronojump.cs |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 9880bdd..9db5a1e 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -2419,17 +2419,6 @@ public partial class ChronoJumpWindow
                ChronojumpImporter.Result result = chronojumpImporter.import ();
 
                if (result.success) {
-                       //if a simple jump type has been added
-                       createComboSelectJumps(false); //this will update also the selectJumpsString
-                       UtilGtk.ComboUpdate(combo_result_jumps,
-                                       SqliteJumpType.SelectJumpTypes(false, Constants.AllJumpsName, "", 
true), ""); //without filter, only select name
-                       combo_select_jumps.Active = 0;
-                       combo_result_jumps.Active = 0;
-
-                       //TODO: RJ, run simple, run interval. See methods:
-                       //on_jump_type_add_accepted
-                       //on_run_type_add_accepted
-
                        //update stats combos
                        updateComboStats ();
 


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