Changeset 3795 in ntrip
- Timestamp:
- Apr 5, 2012, 1:35:02 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/bncwindow.cpp ¶
r3792 r3795 2085 2085 || sender() == _pppAntexFileChooser ) { 2086 2086 2087 enable = (!_pppMountLineEdit->text().isEmpty() && !_pppCorrMountLineEdit->text().isEmpty()) || 2088 (!_pppMountLineEdit->text().isEmpty() && _pppSPPComboBox->currentText() == "Realtime-SPP") || 2089 (_pppSPPComboBox->currentText() == "Post-Processing"); 2087 enable = !_pppSPPComboBox->currentText().isEmpty(); 2088 if (enable) { 2089 enable = (!_pppMountLineEdit->text().isEmpty() && !_pppCorrMountLineEdit->text().isEmpty()) || 2090 (!_pppMountLineEdit->text().isEmpty() && _pppSPPComboBox->currentText() == "Realtime-SPP") || 2091 (_pppSPPComboBox->currentText() == "Post-Processing"); 2092 } 2093 else { 2094 enableWidget(enable, _pppMountLineEdit); 2095 } 2090 2096 2091 2097 enableWidget(enable, _pppNMEALineEdit); … … 2121 2127 enableWidget(enable4, _pppApplySatAntCheckBox); 2122 2128 2123 bool enable5 = enable && _pppEstTropoCheckBox->isChecked() && !_pppMountLineEdit->text().isEmpty();2129 bool enable5 = enable && _pppEstTropoCheckBox->isChecked(); 2124 2130 enableWidget(enable5, _pppSigTrp0); 2125 2131 enableWidget(enable5, _pppSigTrpP); … … 2139 2145 enableWidget(enable9, _postCorrFileChooser); 2140 2146 enableWidget(enable9, _postOutLineEdit); 2141 enableWidget(!enable9, _pppMountLineEdit); 2147 enableWidget(enable && !enable9, _pppMountLineEdit); 2142 2148 } 2143 2149
Note:
See TracChangeset
for help on using the changeset viewer.