Skip to content
Snippets Groups Projects
Commit ebe16d5a authored by leprob001's avatar leprob001
Browse files

Bugfix, hitting ESC did not cancel the deletion of all trajectories.

parent a10a458c
No related branches found
No related tags found
No related merge requests found
202
\ No newline at end of file
203
\ No newline at end of file
......@@ -5,7 +5,9 @@ function [] = buttonDeleteAllTrajectories(~, ~)
global artoaWorkspace;
%% Ask for confirmation
if strcmp(questdlg('Reset all trajectories?', 'Confirmation', 'Yes', 'Cancel', 'Cancel'), 'Cancel')
confirmationDialog = questdlg('Reset all trajectories?', 'Confirmation', 'Yes', 'Cancel', 'Cancel');
if strcmp(confirmationDialog, 'Cancel') ...
|| strcmp(confirmationDialog, '')
return;
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment