From b1dc9bf26d8538001a120c8c1635a12129f13c8c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 5 Jan 2013 22:19:21 -0800 Subject: Make the 'Add waypoint' button work in the Input Plan dialog Just after pushing out the last set of changes I had one more idea what I could try. And of course that was it. Don't queue up a redraw. Simply run gtk_widget_show_all on the dialog! That does the trick. Signed-off-by: Dirk Hohndel --- gtk-gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk-gui.c') diff --git a/gtk-gui.c b/gtk-gui.c index 00ba8f90c..c8cfdcaf7 100644 --- a/gtk-gui.c +++ b/gtk-gui.c @@ -1527,7 +1527,7 @@ static void add_waypoint_cb(GtkButton *button, gpointer _data) nr_waypoints++; ovbox = gtk_widget_get_parent(GTK_WIDGET(button)); dialog = gtk_widget_get_parent(ovbox); - gtk_widget_queue_draw(dialog); + gtk_widget_show_all(dialog); } else { // some error } -- cgit v1.2.3-70-g09d2