[chronojump] encoderCaptureShowOnlyBars SQL stored on Chronojump exit



commit 39cae2e3c6fc154b4cf058d648d53b9f203c44d2
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue Jul 20 16:41:28 2021 +0200

    encoderCaptureShowOnlyBars SQL stored on Chronojump exit

 src/gui/app1/chronojump.cs | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 4e1aa053c..43c9cb16c 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -2588,6 +2588,11 @@ public partial class ChronoJumpWindow
                if(portREOpened)
                        portRE.Close();
 
+               LogB.Information("Updates on SQL");
+               //as ShowOnlyBars stuff can be changed during capture, store at sql here
+               SqlitePreferences.Update("encoderCaptureShowOnlyBars",
+                               preferences.encoderCaptureShowOnlyBars.GetInt.ToString(), false);
+
                LogB.Information("Bye3!");
 
                //TODO: if camera is opened close it! Note that this is intended to kill a remaining ffmpeg 
process


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