]> git.tdb.fi Git - ext/subsurface.git/blobdiff - info.c
Allow editing of Helium values in cylinder info
[ext/subsurface.git] / info.c
diff --git a/info.c b/info.c
index a298a07e3e2080769e8936553bb6ee19b215f1fb..377f33caa7071f4011f507077d4f7b75c9fea1f4 100644 (file)
--- a/info.c
+++ b/info.c
@@ -339,10 +339,13 @@ static void dive_info_widget(GtkWidget *box, struct dive *dive, struct dive_info
        if (dive->notes && *dive->notes)
                gtk_text_buffer_set_text(gtk_text_view_get_buffer(info->notes), dive->notes, -1);
 
+       hbox = gtk_hbox_new(FALSE, 3);
+       gtk_box_pack_start(GTK_BOX(box), hbox, FALSE, TRUE, 0);
+
        frame = gtk_frame_new("Cylinder");
        cylinder = cylinder_list_widget();
        gtk_container_add(GTK_CONTAINER(frame), cylinder);
-       gtk_box_pack_start(GTK_BOX(box), frame, FALSE, TRUE, 0);
+       gtk_box_pack_start(GTK_BOX(hbox), frame, FALSE, TRUE, 0);
 }
 
 int edit_dive_info(struct dive *dive)