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

Bugfix, removed the shortcuts because they intefere with the inputs on the main window.

parent 1d31c245
Branches
Tags
No related merge requests found
198 199
\ No newline at end of file \ No newline at end of file
function [] = shortcuts(~, pEvent)
%SHORTCUTS Summary of this function goes here
% Detailed explanation goes here
global artoaWorkspace;
if (~isfield(artoaWorkspace, 'float'))
return;
end
switch pEvent.Key
case 'e'
artoa.controller.edit.timeOfArrival.open();
case 'p'
artoa.controller.edit.pressure.open();
case 't'
artoa.controller.edit.temperature.open();
case 'o'
artoa.controller.track.trajectoryOutput.open();
end
end
...@@ -62,8 +62,7 @@ artoaGui.figures.main = figure( ... ...@@ -62,8 +62,7 @@ artoaGui.figures.main = figure( ...
'NumberTitle', 'off', ... 'NumberTitle', 'off', ...
'Color', 'white', ... 'Color', 'white', ...
'MenuBar', 'none', ... 'MenuBar', 'none', ...
'Units', 'characters', ... 'Units', 'characters' ...
'WindowKeyPressFcn', @artoa.controller.main.shortcuts ...
); );
%% Geometry variables %% Geometry variables
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment