Changeset 12116 for trunk/FACT++


Ignore:
Timestamp:
09/16/11 19:30:34 (13 years ago)
Author:
tbretz
Message:
Fixed something about the enable of the FTM start and stop button.
File:
1 edited

Legend:

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

    r12115 r12116  
    26952695                SetLedColor(fStatusFTMLed, kLedGreen, time);
    26962696
    2697             fFtmStartRun->setEnabled(!configuring && enable);
    2698             fFtmStopRun->setEnabled(!configuring && enable);
    2699 
    27002697            if (s.index==FTM::StateMachine::kConnected ||
    27012698                s.index==FTM::StateMachine::kIdle) // Dim connection / FTM connected
    27022699                enable = true;
     2700
     2701            fFtmStartRun->setEnabled(!configuring && enable);
     2702            fFtmStopRun->setEnabled(!configuring && (enable || s.index==FTM::StateMachine::kTakingData));
    27032703
    27042704            fTriggerWidget->setEnabled(enable);
Note: See TracChangeset for help on using the changeset viewer.