Commit f771d3ac authored by Matthew Dawson's avatar Matthew Dawson
Browse files

Fix the text in the vertical list.

The text in the vertical list were pulled from the first element.  Make it read from the appropriate one.


git-svn-id: https://groke.mcmaster.ca/svn/grad/colin/branches/TableTool_refactor@8741 57e6efec-57d4-0310-aeb1-a6c144bb1a8b
parent df9c6f86
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ function [height, grid_controls, cell_controls] = draw_onto( object, parent_hand
        height = height + new_height;

        %Kill the direct access here.
        str = grid{1}.get_user_string();
        str = grid{i}.get_user_string();

        grid_controls{i}.control = uicontrol(parent_handle, 'Style', 'edit', 'Position', [depth*object.gui_params.edit_width, y-((height+start_height)), object.gui_params.edit_width, new_height], 'String', str, 'Callback', @(src,event)GUIHelpers.update_cell(src, event, grid{i}));
        if size(grid{i}.grid, 2) == 0