Changeset 8413 in ntrip for branches/BNC_2.12


Ignore:
Timestamp:
Jul 6, 2018, 1:10:00 PM (6 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/pppWidgets.cpp

    r8404 r8413  
    352352  _minEle->setValue(settings.value(_minEle->objectName()).toInt());
    353353  _corrWaitTime->setValue(settings.value(_corrWaitTime->objectName()).toInt());
    354   _snxtroSampl->setValue(settings.value(_snxtroSampl->objectName()).toInt());
     354
     355  ii = _snxtroSampl->findText(settings.value(_snxtroSampl->objectName()).toString());
     356  if (ii != -1) {
     357    _snxtroSampl->setCurrentIndex(ii);
     358  }
    355359
    356360  // Table with stations
     
    404408  settings.setValue(_nmeaPath    ->objectName(), _nmeaPath    ->text());
    405409  settings.setValue(_snxtroPath  ->objectName(), _snxtroPath  ->text());
    406   settings.setValue(_snxtroSampl ->objectName(), _snxtroSampl ->value());
     410  settings.setValue(_snxtroSampl ->objectName(), _snxtroSampl ->currentText());
    407411  settings.setValue(_snxtroIntr  ->objectName(), _snxtroIntr  ->currentText());
    408412  settings.setValue(_snxtroAc    ->objectName(), _snxtroAc    ->text());
Note: See TracChangeset for help on using the changeset viewer.