Skip to content

Commit bf1314c

Browse files
authored
Merge pull request #661 from ourairquality/rtknavi-qt-misc-opt-load
rtknavi qt: correct loading of misc options
2 parents 903bedf + 144f3dd commit bf1314c

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

app/qtapp/appcmn_qt/navi_post_opt.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,17 @@ void OptDialog::load(const QString &file)
909909
getsysopts(&prcopt, &solopt, &filopt);
910910
proxyAddress = proxyaddr;
911911

912+
if (options == NaviOptions) {
913+
ui->sBServerCycle->setValue(serverCycle);
914+
ui->sBTimeoutTime->setValue(timeoutTime);
915+
ui->sBReconnectTime->setValue(reconnectTime);
916+
ui->sBNmeaCycle->setValue(nmeaCycle);
917+
ui->sBServerBufferSize->setValue(serverBufferSize);
918+
ui->cBNavSelect->setCurrentIndex(navSelect);
919+
ui->lEProxyAddress->setText(proxyaddr);
920+
ui->sBFileSwapMargin->setValue(fileSwapMargin);
921+
}
922+
912923
ui->sBSbasSatellite->setValue(prcopt.sbassatsel);
913924

914925
ui->cBPositionMode->setCurrentIndex(prcopt.mode);

0 commit comments

Comments
 (0)