Changeset 34050


Ignore:
Timestamp:
04/18/15 18:11:42 (8 years ago)
Author:
Stephan
Message:

hide ci menu on boxes without ci slot

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/menu.h

    r33839 r34050  
    9090                else
    9191                        child->hidden = YES;
     92        }
     93
     94        //hide ci menu
     95        if(ostrcmp(child->name, "cinterface") == 0)
     96        {
     97                // atemio6100/6000
     98                if(checkbox("ATEMIO6000") == 1 || checkbox("ATEMIO6100") == 1)
     99                        child->hidden = YES;
     100                else
     101                        child->hidden = NO;
    92102        }
    93103}
  • titan/titan/moduleconfig.h

    r28436 r34050  
    167167
    168168                                addchoicebox(tmp, "0", _("activate"));
    169                                 addchoicebox(tmp, "1", _("deaktivate"));
     169                                addchoicebox(tmp, "1", _("deactivate"));
    170170                                if(ostrstr(lockcaids, ret[i].part) != NULL)
    171171                                        setchoiceboxselection(tmp, "1");
Note: See TracChangeset for help on using the changeset viewer.