summaryrefslogtreecommitdiff
path: root/ui/gtk/uat_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gtk/uat_gui.c')
-rw-r--r--ui/gtk/uat_gui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/gtk/uat_gui.c b/ui/gtk/uat_gui.c
index 13c89489d9..d63a153ea8 100644
--- a/ui/gtk/uat_gui.c
+++ b/ui/gtk/uat_gui.c
@@ -292,6 +292,8 @@ static gboolean uat_dlg_cb(GtkWidget *win _U_, gpointer user_data) {
break;
case PT_TXTMOD_STRING:
+ case PT_TXTMOD_BOOL:
+ case PT_TXTMOD_DISPLAY_FILTER:
text = gtk_entry_get_text(GTK_ENTRY(e));
len = (unsigned) strlen(text);
break;
@@ -515,6 +517,8 @@ static void uat_edit_dialog(uat_t *uat, gint row, gboolean copy) {
case PT_TXTMOD_NONE:
case PT_TXTMOD_STRING:
case PT_TXTMOD_HEXBYTES:
+ case PT_TXTMOD_DISPLAY_FILTER:
+ case PT_TXTMOD_BOOL:
entry = gtk_entry_new();
if (! dd->is_new || copy) {
gtk_entry_set_text(GTK_ENTRY(entry), text);