diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-01-05 22:19:21 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-01-05 22:19:21 -0800 |
commit | b1dc9bf26d8538001a120c8c1635a12129f13c8c (patch) | |
tree | 403fd721f664db9a5bbde06301a11bd9bdb42426 /gtk-gui.c | |
parent | 3ac1cdf9e410fc65463253a2763e305cdb444cdc (diff) | |
download | subsurface-b1dc9bf26d8538001a120c8c1635a12129f13c8c.tar.gz |
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>
Diffstat (limited to 'gtk-gui.c')
-rw-r--r-- | gtk-gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |