[chronojump] Unable to insert quotations on encoderConfiguration



commit 85726a4278b1567c596e24e3bf3978a51abb394b
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Jul 24 02:09:24 2017 +0200

    Unable to insert quotations on encoderConfiguration

 src/gui/encoderConfiguration.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/encoderConfiguration.cs b/src/gui/encoderConfiguration.cs
index 25a15b8..91e6cc1 100644
--- a/src/gui/encoderConfiguration.cs
+++ b/src/gui/encoderConfiguration.cs
@@ -627,6 +627,8 @@ public class EncoderConfigurationWindow
 
        void on_entry_save_name_changed (object o, EventArgs args)
        {
+               entry_save_name.Text = Util.MakeValidSQL(entry_save_name.Text);
+
                button_apply.Sensitive = (entry_save_name.Text.ToString().Length > 0);
 
                //TODO: button delete sensitivity depends on being on the treeview
@@ -634,6 +636,7 @@ public class EncoderConfigurationWindow
 
        void on_entry_save_description_changed (object o, EventArgs args)
        {
+               entry_save_description.Text = Util.MakeValidSQL(entry_save_description.Text);
        }
 
        void on_button_import_clicked (object o, EventArgs args)


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