Changeset 6318 in ntrip for trunk/BNC/src/bncwindow.cpp
- Timestamp:
- Nov 10, 2014, 4:22:47 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncwindow.cpp
r6299 r6318 1007 1007 _reqcSkyPlotSystems = new QComboBox(); 1008 1008 _reqcSkyPlotSystems->setEditable(false); 1009 _reqcSkyPlotSystems->addItems(QString(" ALL,GPS,GLONASS,Galileo").split(","));1009 _reqcSkyPlotSystems->addItems(QString(",ALL,GPS,GLONASS,Galileo").split(",")); 1010 1010 ik = _reqcSkyPlotSystems->findText(settings.value("reqcSkyPlotSystems").toString()); 1011 1011 if (ik != -1) { 1012 1012 _reqcSkyPlotSystems->setCurrentIndex(ik); 1013 1013 } 1014 connect(_reqcSkyPlotSystems, SIGNAL(currentIndexChanged(const QString &)), 1015 this, SLOT(slotBncTextChanged())); 1014 1016 1015 1017 _reqcLogSummaryOnly = new QCheckBox(); … … 2166 2168 // QC 2167 2169 // -- 2168 if (sender() == 0 || sender() == _reqcActionComboBox ) {2170 if (sender() == 0 || sender() == _reqcActionComboBox || sender() == _reqcSkyPlotSystems) { 2169 2171 enable = !_reqcActionComboBox->currentText().isEmpty(); 2170 2172 bool enable10 = _reqcActionComboBox->currentText() == "Edit/Concatenate"; 2173 bool enablePlot = !_reqcSkyPlotSystems->currentText().isEmpty(); 2171 2174 enableWidget(enable && enable10, _reqcEditOptionButton); 2172 2175 enableWidget(enable, _reqcObsFileChooser); … … 2175 2178 enableWidget(enable && enable10, _reqcOutNavLineEdit); 2176 2179 enableWidget(enable, _reqcOutLogLineEdit); 2177 enableWidget(enable && !enable10 , _reqcPlotDirLineEdit);2180 enableWidget(enable && !enable10 && enablePlot, _reqcPlotDirLineEdit); 2178 2181 enableWidget(enable && !enable10, _reqcSkyPlotSystems); 2179 2182 enableWidget(enable && !enable10, _reqcLogSummaryOnly);
Note:
See TracChangeset
for help on using the changeset viewer.