From 4432d2fc1a53e83511d0f0ed1dabc4f7b24d4ac5 Mon Sep 17 00:00:00 2001 From: Matthew Dawson Date: Mon, 23 Jul 2012 18:40:22 +0000 Subject: [PATCH] Reattach the gui to data as its supposed to happen now. git-svn-id: https://groke.mcmaster.ca/svn/grad/colin/branches/TableTool_refactor@8690 57e6efec-57d4-0310-aeb1-a6c144bb1a8b --- TTdiag.m | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/TTdiag.m b/TTdiag.m index 727496b..ceb6eda 100644 --- a/TTdiag.m +++ b/TTdiag.m @@ -40,8 +40,7 @@ switch Action, file = varargin{2}; try data = importdata(file); - gui = GUI([],0); - gui.setData(data); + gui = GUI(data, [],0); gui.init(); catch exception msgbox(exception.identifier); @@ -126,12 +125,11 @@ else end if mode == 1 - gui = GUI(blockHandleTTTopMask,1); + gui = GUI(data, blockHandleTTTopMask,1); elseif mode == 0 - gui = GUI([],0); + gui = GUI(data, [],0); end -gui.setData(data); gui.init(); if(mode == 1) set_param(blockHandleTTTopMask,'UserData',data); -- GitLab