From 015d537830c786e373ad1e2b9fab2e1f58fd5608 Mon Sep 17 00:00:00 2001 From: waker Date: Sun, 5 Aug 2012 14:01:40 +0200 Subject: gtkui: fixed minor bug in custom column type selection --- plugins/gtkui/callbacks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3