Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
teddychao committed Aug 12, 2024
1 parent 3aad753 commit 11ecb47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pspm_display.m
Original file line number Diff line number Diff line change
Expand Up @@ -899,11 +899,11 @@ function pp_plot(handles)
set(handles.edit_y_max,'String',num2str(y(2)))
set(handles.edit_start_x,'String',num2str(x(1)))
set(handles.edit_winsize_x,'String',num2str(x(2)))
handles.UIDisplay.HandleVisibility = 'off';
handles.UIDisplay.HandleVisibility = settings.handle;
end

% --- Executes when pspm_display is resized.
function pspm_display_ResizeFcn(~, ~, ~)
function UIDisplay_ResizeFcn(~, ~, ~)
% hObject handle to pspm_display (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
Expand Down
1 change: 1 addition & 0 deletions src/pspm_ecg_editor.m
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,7 @@ function discriminate_hb_events(hObject, handles)

% --- plot data
function pp_plot(hObject,handles)
global settings
handles.UIEcgEditor.HandleVisibility = 'callback';
% where are potential mislabeled qrs complexes?
if any(not(isnan(handles.plot.r(2,:)))) && ~handles.manualmode
Expand Down

0 comments on commit 11ecb47

Please sign in to comment.