Skip to content
Snippets Groups Projects
reloadArtoaIni.m 434 B
function [] = reloadArtoaIni(~, ~)
%RELOADARTOAINI Asks for confirmation, if answered yes, calls artoa.controller.file.loadArtoaIni.

%% Ask for confirmation
answer = questdlg('Reload artoa.ini file?', ...
        'Reload artoa.ini file?', ...
        'Yes', ...
        'No', ...
        struct('Default', 'Yes', 'Interpreter', 'none') ...
    );

if strcmp(answer, 'No')
    return;
end

artoa.controller.file.loadArtoaIni();

end