Skip to content
Snippets Groups Projects
Commit 13231ccf authored by Matthew Dawson's avatar Matthew Dawson
Browse files

Revert last commit, it broke too many things.

Due to matlab stupidity, it doesn't have an undo functionality in its
input boxes (why?).  The work around involves unfocusing and re-focusing the 
textbox.  In the meantime, the original bug I tried to fix is still out there.


git-svn-id: https://groke.mcmaster.ca/svn/grad/colin/trunk/TableTool@8552 57e6efec-57d4-0310-aeb1-a6c144bb1a8b
parent dfc15280
No related branches found
No related tags found
No related merge requests found
......@@ -66,6 +66,7 @@ object.check_pb = uicontrol('style','push',...
'string','Syntax',...
'HorizontalAlign','left',...
'Parent',object.fig,...
'Max',2.0,...
'callback',@(src,event)check_call(object,src,event));
......@@ -107,6 +108,7 @@ object.function_name_control = uicontrol('style','edit',...
'HorizontalAlign','center',...
'FontWeight','bold',...
'FontSize',12,...
'Max',2.0,...
'KeyPressFcn',@(src,event)textbox_callback(object,src,event),...
'BackgroundColor',[1 1 1]);
......@@ -122,6 +124,7 @@ object.function_inputs_control = uicontrol('style','edit',...
'Parent',object.fig,...
'HorizontalAlign','center',...
'FontWeight','bold',...
'Max',2.0,...
'FontSize',12,...
'KeyPressFcn',@(src,event)textbox_callback(object,src,event),...
'BackgroundColor',[1 1 1]);
......
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