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 <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-01-05 22:19:21 -08:00
parent 3ac1cdf9e4
commit b1dc9bf26d

View file

@ -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
}