Skip to content

Commit

Permalink
Merge pull request #40 from OpenPIV/test_bug_reported_2020a
Browse files Browse the repository at this point in the history
fixes the bug reported in the forum for 2020a version
  • Loading branch information
alexlib authored May 27, 2020
2 parents 5a394aa + d201fe4 commit 97bbe30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openpivgui.m
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ function prev_image_Callback(hObject, eventdata, handles)
filenum = max(1,filenum - 1);
set(handles.edit_num,'String',int2str(filenum));
% imshow(fullfile(handles.path,handles.files{1}));
imshow(openpiv_imread(handles,filenum));
imshow(openpiv_imread(fullfile(handles.path,handles.files{filenum})));
guidata(hObject, handles);


Expand All @@ -852,7 +852,7 @@ function next_image_Callback(hObject, eventdata, handles)
filenum = str2num(get(handles.edit_num,'String'));
filenum = min(filenum + 1,length(handles.files));
set(handles.edit_num,'String',int2str(filenum));
imshow(openpiv_imread(handles,filenum));
imshow(openpiv_imread(fullfile(handles.path,handles.files{filenum})));
guidata(hObject, handles);


Expand Down

0 comments on commit 97bbe30

Please sign in to comment.