Changeset 6985 in ntrip


Ignore:
Timestamp:
Jun 29, 2015, 3:53:55 PM (9 years ago)
Author:
weber
Message:

Documentation completed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncwindow.cpp

    r6983 r6985  
    22842284  // ------------------------------------
    22852285  if (sender() == 0 || sender() == _uploadEphHostLineEdit) {
    2286     if (!_uploadEphHostLineEdit->text().isEmpty()) {
    2287       enableWidget(enable, _uploadEphPortLineEdit);
    2288       enableWidget(enable, _uploadEphMountpointLineEdit);
    2289       enableWidget(enable, _uploadEphPasswordLineEdit);
    2290       enableWidget(enable, _uploadEphSampleSpinBox);
    2291     }
    2292     else {
    2293       enableWidget(false, _uploadEphPortLineEdit);
    2294       enableWidget(false, _uploadEphMountpointLineEdit);
    2295       enableWidget(false, _uploadEphPasswordLineEdit);
    2296       enableWidget(false, _uploadEphSampleSpinBox);
    2297     }
     2286    enable = !_uploadEphHostLineEdit->text().isEmpty();
     2287    enableWidget(enable, _uploadEphPortLineEdit);
     2288    enableWidget(enable, _uploadEphMountpointLineEdit);
     2289    enableWidget(enable, _uploadEphPasswordLineEdit);
     2290    enableWidget(enable, _uploadEphSampleSpinBox);
    22982291  }
    22992292
Note: See TracChangeset for help on using the changeset viewer.