Clarify GUIDE helper names
Agent-Logs-Url: https://github.com/kk14222/3D_EDFM_SIM-X/sessions/a128ab7f-6b94-4048-a847-f2dc37bbe0ab Co-authored-by: kk14222 <217880052+kk14222@users.noreply.github.com>
This commit is contained in:
co-authored by
kk14222
parent
421696c5e0
commit
0018b44cea
@@ -1527,11 +1527,11 @@ classdef EDFMAppController < handle
|
||||
try
|
||||
uialert(obj.App.UIFigure, message, titleText, varargin{:});
|
||||
catch
|
||||
errordlg(obj.toDialogText(message), obj.toDialogText(titleText), 'modal');
|
||||
errordlg(obj.formatDialogMessage(message), obj.formatDialogMessage(titleText), 'modal');
|
||||
end
|
||||
end
|
||||
|
||||
function textValue = toDialogText(~, value)
|
||||
function textValue = formatDialogMessage(~, value)
|
||||
if iscell(value)
|
||||
textValue = strjoin(string(value), newline);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user