From 24be19bf0da75a028b882ef5a8b54c10b4658ad0 Mon Sep 17 00:00:00 2001 From: Pan7 Date: Thu, 25 May 2017 19:36:37 +0200 Subject: [PATCH] Fix missing text field --- radiant/gtkdlgs.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/radiant/gtkdlgs.cpp b/radiant/gtkdlgs.cpp index b8ad7ddc..334b4737 100644 --- a/radiant/gtkdlgs.cpp +++ b/radiant/gtkdlgs.cpp @@ -155,7 +155,9 @@ static void DoProjectAddEdit( bool edit, GtkWidget *parent ){ gtk_widget_show( label ); text = gtk_entry_new(); - g_object_set_data( G_OBJECT( dialog ), "text", text ); + gtk_table_attach( GTK_TABLE( table ), text, 1, 2, 0, 1, + (GtkAttachOptions) ( GTK_EXPAND | GTK_FILL ), + (GtkAttachOptions) ( 0 ), 0, 0 ); gtk_widget_show( text ); g_object_set_data( G_OBJECT( dialog ), "text", text );