diff options
author | waker <wakeroid@gmail.com> | 2012-08-05 14:01:40 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-08-05 14:01:40 +0200 |
commit | 015d537830c786e373ad1e2b9fab2e1f58fd5608 (patch) | |
tree | b60da11ec388787605f68ef06890367ad7485f9d | |
parent | 3487f938534aabae0e191f8a78442a098cc84bb6 (diff) |
gtkui: fixed minor bug in custom column type selection
-rw-r--r-- | plugins/gtkui/callbacks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtkui/callbacks.c b/plugins/gtkui/callbacks.c index d9533056..0c911141 100644 --- a/plugins/gtkui/callbacks.c +++ b/plugins/gtkui/callbacks.c @@ -826,7 +826,7 @@ on_column_id_changed (GtkComboBox *combobox, trace ("failed to get column format widget\n"); return; } - gtk_widget_set_sensitive (fmt, act >= DB_COLUMN_ID_MAX ? TRUE : FALSE); + gtk_widget_set_sensitive (fmt, act >= 10 ? TRUE : FALSE); if (!editcolumn_title_changed) { GtkWidget *title= lookup_widget (toplevel, "title"); |