Changeset 19364 for trunk


Ignore:
Timestamp:
11/08/18 15:59:28 (6 years ago)
Author:
tbretz
Message:
Changed the maximum valid range of some spin boxes in case this is not a FACT camera.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc

    r19312 r19364  
    22752275        canvas->assignPixelMapFile("");
    22762276
     2277    if (!canvas->isFACT())
     2278    {
     2279        HwIDBox->setMaximum(71);
     2280        SwIDBox->setMaximum(71);
     2281        SwIDBox->setValue(0);
     2282        HwIDBox->setValue(19);
     2283        crateIDBox->setMaximum(0);
     2284        crateIDBox->setEnabled(false);
     2285        boardIDBox->setMaximum(1);
     2286    }
     2287
    22772288    if (conf.Has("color.range"))
    22782289    {
Note: See TracChangeset for help on using the changeset viewer.