Changeset 11790 for trunk


Ignore:
Timestamp:
08/05/11 15:07:22 (13 years ago)
Author:
tbretz
Message:
Fixed an FTU-GUI ping pong
File:
1 edited

Legend:

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

    r11762 r11790  
    534534void MainWindow::on_fLpIntGroup1_stateChanged(int b)
    535535{
    536     Dim::SendCommand("FTM_CONTROL/ENABLE_GROUP1_LPINT", uint8_t(b));
     536    if (!fInHandler)
     537        Dim::SendCommand("FTM_CONTROL/ENABLE_GROUP1_LPINT", uint8_t(b));
    537538}
    538539
    539540void MainWindow::on_fLpExtGroup1_stateChanged(int b)
    540541{
    541     Dim::SendCommand("FTM_CONTROL/ENABLE_GROUP1_LPEXT", uint8_t(b));
     542    if (!fInHandler)
     543        Dim::SendCommand("FTM_CONTROL/ENABLE_GROUP1_LPEXT", uint8_t(b));
    542544}
    543545
    544546void MainWindow::on_fLpIntGroup2_stateChanged(int b)
    545547{
    546     Dim::SendCommand("FTM_CONTROL/ENABLE_GROUP2_LPINT", uint8_t(b));
     548    if (!fInHandler)
     549        Dim::SendCommand("FTM_CONTROL/ENABLE_GROUP2_LPINT", uint8_t(b));
    547550}
    548551
    549552void MainWindow::on_fLpExtGroup2_stateChanged(int b)
    550553{
    551     Dim::SendCommand("FTM_CONTROL/ENABLE_GROUP2_LPEXT", uint8_t(b));
     554    if (!fInHandler)
     555        Dim::SendCommand("FTM_CONTROL/ENABLE_GROUP2_LPEXT", uint8_t(b));
    552556}
    553557
Note: See TracChangeset for help on using the changeset viewer.