Changeset 772 for trunk/src/view_field.m


Ignore:
Timestamp:
May 9, 2014, 8:33:53 PM (10 years ago)
Author:
sommeria
Message:

manip corrections and cleaning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/view_field.m

    r752 r772  
    190190    hhuvmat=guidata(huvmat);
    191191    set(hhuvmat.CheckViewField,'Value',0)
    192     %set(hhuvmat.edit_object,'BackgroundColor',[0.7 0.7 0.7])%put unactivated buttons to gree
    193192    % deselect the object in ListObject when view_field is closed
    194193    if isempty(findobj(allchild(0),'Tag','set_object'))
     
    215214    end
    216215end
    217 hciv=findobj(allchild(0),'Tag','civ');%find the current civ GUI
     216hciv=findobj(allchild(0),'Tag','civ_input');%find the current civ GUI
    218217if ~isempty(hciv)
    219218    hhciv=guidata(hciv);
    220219    set(hhciv.TestCiv1,'Value',0)% desactivate  TestCiv1 if on
    221     set(hhciv.TestCiv1,'BackgroundColor',[1 0 0])%
     220    set(hhciv.TestCiv1,'BackgroundColor',[0 1 0])%
    222221end
    223222corrfig=findobj(allchild(0),'tag','corrfig');% look for a civ correlation window used with TesCiv1
Note: See TracChangeset for help on using the changeset viewer.