Skip to content

Commit

Permalink
To keep ft_warning off when we want
Browse files Browse the repository at this point in the history
prevent ft_warning -clear at the end of postamble_history to reset ft_warning state to on
  • Loading branch information
dnacombo committed Mar 23, 2023
1 parent 7304977 commit 92f7677
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utilities/private/ft_notification.m
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,10 @@
varargout{1} = getstate(s, 'last', ident);

case {'clear' '-clear'}
default = getstate(s, 'all');
% reset the notification system
s = [];
% but keep default state
s = struct('identifier','all','state',default,'timestamp',NaN);

case {'query' '-query'}
if numel(varargin)>1
Expand Down

0 comments on commit 92f7677

Please sign in to comment.