Skip to content

Commit 7c6bd58

Browse files
authored
Merge pull request #660 from ourairquality/winapp-rtknavi-proc-opts
winapp rtknavi: enable solution processing options
2 parents 5e835f3 + 200b45c commit 7c6bd58

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

app/winapp/rtknavi/naviopt.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,12 +1145,12 @@ void __fastcall TOptDialog::UpdateEnable(void)
11451145
BaselineLen ->Enabled=BaselineConst->Checked&&PosMode->ItemIndex==PMODE_MOVEB;
11461146
BaselineSig ->Enabled=BaselineConst->Checked&&PosMode->ItemIndex==PMODE_MOVEB;
11471147

1148-
OutputHead ->Enabled=SolFormat->ItemIndex!=3;
1149-
OutputOpt ->Enabled=false;
1150-
TimeFormat ->Enabled=SolFormat->ItemIndex!=3;
1151-
TimeDecimal ->Enabled=SolFormat->ItemIndex!=3;
1148+
OutputHead ->Enabled=SolFormat->ItemIndex<3;
1149+
OutputOpt ->Enabled=SolFormat->ItemIndex<3;
1150+
TimeFormat ->Enabled=SolFormat->ItemIndex<3;
1151+
TimeDecimal ->Enabled=SolFormat->ItemIndex<3;
11521152
LatLonFormat ->Enabled=SolFormat->ItemIndex==0;
1153-
FieldSep ->Enabled=SolFormat->ItemIndex!=3;
1153+
FieldSep ->Enabled=SolFormat->ItemIndex<3;
11541154
OutputSingle ->Enabled=PosMode->ItemIndex!=0;
11551155
OutputDatum ->Enabled=SolFormat->ItemIndex==0;
11561156
OutputHeight ->Enabled=SolFormat->ItemIndex==0;

app/winapp/rtknavi/naviopt.dfm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,6 @@ object OptDialog: TOptDialog
840840
Width = 152
841841
Height = 21
842842
Style = csDropDownList
843-
Enabled = False
844843
ItemIndex = 0
845844
TabOrder = 0
846845
Text = 'Lat/Lon/Height'
@@ -947,7 +946,6 @@ object OptDialog: TOptDialog
947946
Width = 75
948947
Height = 21
949948
Style = csDropDownList
950-
Enabled = False
951949
ItemIndex = 0
952950
TabOrder = 2
953951
Text = 'OFF'

0 commit comments

Comments
 (0)