Changeset 3796 in ntrip


Ignore:
Timestamp:
Apr 5, 2012, 1:40:16 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncwindow.cpp

    r3795 r3796  
    21492149
    21502150  if (sender() == 0 || sender() == _teqcActionComboBox) {
     2151    enable = !_teqcActionComboBox->currentText().isEmpty();
    21512152    bool enable10 = _teqcActionComboBox->currentText() == "Edit";
    2152     enableWidget(enable10, _teqcEditOptionButton);
    2153     enableWidget(!enable10, _teqcNavFileChooser);
    2154     enableWidget(!enable10, _teqcOutLineEdit);
     2153    enableWidget(enable &&  enable10, _teqcEditOptionButton);
     2154    enableWidget(enable,              _teqcObsFileChooser);
     2155    enableWidget(enable && !enable10, _teqcNavFileChooser);
     2156    enableWidget(enable && !enable10, _teqcOutLineEdit);
    21552157  }
    21562158}
Note: See TracChangeset for help on using the changeset viewer.