[chronojump] Better sensitivity on create table (person_multiple_infinite)



commit 30c49af8ee734621224f2dfdd67a29e8de2fb176
Author: Xavier de Blas <xaviblas gmail com>
Date:   Sat Dec 9 14:11:39 2017 +0100

    Better sensitivity on create table (person_multiple_infinite)

 src/gui/person.cs |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/gui/person.cs b/src/gui/person.cs
index c7a62f7..fb8f51d 100644
--- a/src/gui/person.cs
+++ b/src/gui/person.cs
@@ -1744,7 +1744,8 @@ public class PersonAddMultipleWindow {
        [Widget] Gtk.Image image_load;
        [Widget] Gtk.Image image_load2;
        [Widget] Gtk.Image image_info;
-       
+
+       [Widget] Gtk.Button button_manually_create;
        [Widget] Gtk.Table table_headers_1_column;
        [Widget] Gtk.Table table_no_headers_1_column;
        [Widget] Gtk.Table table_headers_2_columns;
@@ -2029,6 +2030,7 @@ public class PersonAddMultipleWindow {
        
        void on_button_manually_create_clicked (object obj, EventArgs args) 
        {
+               button_manually_create.Sensitive = false;
                if(created_table) {
                        label_message.Text = tableAlreadyCreatedString;
                        label_message.Visible = true;


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