mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
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:
parent
3ac1cdf9e4
commit
b1dc9bf26d
1 changed files with 1 additions and 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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue