Changeset 12497 for trunk/FACT++


Ignore:
Timestamp:
11/11/11 03:29:25 (13 years ago)
Author:
tbretz
Message:
Changed the behaviour of the MCP reset button; added disable of ratescan controls
File:
1 edited

Legend:

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

    r12476 r12497  
    28142814            fMcpStartRun->setEnabled(s.index>=5);
    28152815            fMcpStopRun->setEnabled(s.index>=5);
    2816             fMcpReset->setEnabled(s.index>=7 && s.index<=10);
     2816            fMcpReset->setEnabled(s.index==5||(s.index>=7 && s.index<=10));
    28172817        }
    28182818
     
    30673067            fChatMessage->setEnabled(fChatOnline);
    30683068        }
     3069
     3070        if (server=="RATESCAN")
     3071            fRateScanControls->setEnabled(s.index>=4);
    30693072
    30703073        if (server=="SCHEDULER")
Note: See TracChangeset for help on using the changeset viewer.