[chronojump] Fix from last commit



commit d3eb65dd400b05be3e7c332255fc3d4c03bbd3b3
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Jan 2 13:43:53 2020 +0100

    Fix from last commit

 src/gui/encoder.cs | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/gui/encoder.cs b/src/gui/encoder.cs
index 1694a4a7..a25a81d2 100644
--- a/src/gui/encoder.cs
+++ b/src/gui/encoder.cs
@@ -2123,7 +2123,7 @@ public partial class ChronoJumpWindow
                        else    //ENCODER_ANALYZE_SAVE_IMAGE, FORCESENSOR_SAVE_IMAGE_SIGNAL,
                                //FORCESENSOR_SAVE_IMAGE_RFD_AUTO, FORCESENSOR_SAVE_IMAGE_RFD_MANUAL
                                exportFileName = Util.AddPngIfNeeded(exportFileName);
-//                     try {
+                       try {
                                if (File.Exists(exportFileName)) {
                                        LogB.Information(string.Format(
                                                                "File {0} exists with attributes {1}, created 
at {2}", 
@@ -2206,12 +2206,11 @@ public partial class ChronoJumpWindow
                                                myString += 
Constants.GetSpreadsheetString(preferences.CSVExportDecimalSeparator);
                                        new DialogMessage(Constants.MessageTypes.INFO, myString);
                                }
-/*                     } catch {
+                       } catch {
                                string myString = string.Format(
                                                Catalog.GetString("Cannot save file {0} "), exportFileName);
                                new DialogMessage(Constants.MessageTypes.WARNING, myString);
                        }
-                       */
                }
                else {
                        LogB.Information("cancelled");


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