Changeset 10950


Ignore:
Timestamp:
06/09/11 15:30:10 (14 years ago)
Author:
tbretz
Message:
Choose pixel even with double click; update enable.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/FactGui.h

    r10948 r10950  
    13231323        for (int i=0; i<1440; i++)
    13241324            cam->SetEnable(i, sdata.IsEnabled(i));
     1325
     1326        fRatesCanv->GetCanvas()->Modified();
     1327        fRatesCanv->GetCanvas()->Update();
    13251328#endif
    13261329
    13271330        fPixelEnable->setChecked(sdata.IsEnabled(fPixelIdx->value()));
     1331
     1332
    13281333
    13291334        const int patch1 = fThresholdIdx->value();
     
    18541859
    18551860                cout << "Toggle: " << idx << endl;
     1861
     1862                ChoosePixel(*cam, idx);
     1863
     1864                fPixelIdx->setValue(idx);
    18561865
    18571866                Dim::SendCommand("FTM_CONTROL/TOGGLE_PIXEL", uint16_t(idx));
Note: See TracChangeset for help on using the changeset viewer.