@@ -106,14 +106,14 @@ FreeDVReporterDialog::FreeDVReporterDialog(wxWindow* parent, wxWindowID id, cons
106
106
col++;
107
107
m_listSpots->InsertColumn (col, wxGetApp ().appConfiguration .reportingConfiguration .reportingFrequencyAsKhz ? wxT (" kHz" ) : wxT (" MHz" ), wxLIST_FORMAT_RIGHT, DefaultColumnWidths_[col]);
108
108
col++;
109
+ m_listSpots->InsertColumn (col, wxT (" Mode" ), wxLIST_FORMAT_LEFT, DefaultColumnWidths_[col]);
110
+ col++;
109
111
m_listSpots->InsertColumn (col, wxT (" Status" ), wxLIST_FORMAT_LEFT, DefaultColumnWidths_[col]);
110
112
col++;
111
113
m_listSpots->InsertColumn (col, wxT (" Msg" ), wxLIST_FORMAT_LEFT, DefaultColumnWidths_[col]);
112
114
col++;
113
115
m_listSpots->InsertColumn (col, wxT (" Last TX" ), wxLIST_FORMAT_LEFT, DefaultColumnWidths_[col]);
114
116
col++;
115
- m_listSpots->InsertColumn (col, wxT (" Mode" ), wxLIST_FORMAT_LEFT, DefaultColumnWidths_[col]);
116
- col++;
117
117
m_listSpots->InsertColumn (col, wxT (" RX Call" ), wxLIST_FORMAT_LEFT, DefaultColumnWidths_[col]);
118
118
col++;
119
119
m_listSpots->InsertColumn (col, wxT (" Mode" ), wxLIST_FORMAT_LEFT, DefaultColumnWidths_[col]);
@@ -1090,12 +1090,15 @@ int FreeDVReporterDialog::ListCompareFn_(wxIntPtr item1, wxIntPtr item2, wxIntPt
1090
1090
result = leftData->frequency - rightData->frequency ;
1091
1091
break ;
1092
1092
case 5 :
1093
- result = leftData->status .CmpNoCase (rightData->status );
1093
+ result = leftData->txMode .CmpNoCase (rightData->txMode );
1094
1094
break ;
1095
1095
case 6 :
1096
- result = leftData->userMessage .CmpNoCase (rightData->userMessage );
1096
+ result = leftData->status .CmpNoCase (rightData->status );
1097
1097
break ;
1098
1098
case 7 :
1099
+ result = leftData->userMessage .CmpNoCase (rightData->userMessage );
1100
+ break ;
1101
+ case 8 :
1099
1102
if (leftData->lastTxDate .IsValid () && rightData->lastTxDate .IsValid ())
1100
1103
{
1101
1104
if (leftData->lastTxDate .IsEarlierThan (rightData->lastTxDate ))
@@ -1124,9 +1127,6 @@ int FreeDVReporterDialog::ListCompareFn_(wxIntPtr item1, wxIntPtr item2, wxIntPt
1124
1127
result = 0 ;
1125
1128
}
1126
1129
break ;
1127
- case 8 :
1128
- result = leftData->txMode .CmpNoCase (rightData->txMode );
1129
- break ;
1130
1130
case 9 :
1131
1131
result = leftData->lastRxCallsign .CmpNoCase (rightData->lastRxCallsign );
1132
1132
break ;
@@ -1661,6 +1661,9 @@ void FreeDVReporterDialog::addOrUpdateListIfNotFiltered_(ReporterData* data, std
1661
1661
changed = setColumnForRow_ (itemIndex, col++, data->freqString , colResizeList);
1662
1662
needResort |= changed && currentSortColumn_ == (col - 1 );
1663
1663
1664
+ changed = setColumnForRow_ (itemIndex, col++, " " +data->txMode , colResizeList);
1665
+ needResort |= changed && currentSortColumn_ == (col - 1 );
1666
+
1664
1667
changed = setColumnForRow_ (itemIndex, col++, " " +data->status , colResizeList);
1665
1668
needResort |= changed && currentSortColumn_ == (col - 1 );
1666
1669
@@ -1670,9 +1673,6 @@ void FreeDVReporterDialog::addOrUpdateListIfNotFiltered_(ReporterData* data, std
1670
1673
changed = setColumnForRow_ (itemIndex, col++, " " +data->lastTx , colResizeList);
1671
1674
needResort |= changed && currentSortColumn_ == (col - 1 );
1672
1675
1673
- changed = setColumnForRow_ (itemIndex, col++, " " +data->txMode , colResizeList);
1674
- needResort |= changed && currentSortColumn_ == (col - 1 );
1675
-
1676
1676
changed = setColumnForRow_ (itemIndex, col++, " " +data->lastRxCallsign , colResizeList);
1677
1677
needResort |= changed && currentSortColumn_ == (col - 1 );
1678
1678
0 commit comments