mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-15 16:42:12 -05:00
Correct the logic for m_isort.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8239 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
e5dce12086
commit
7368eaa828
@ -2763,9 +2763,13 @@ void MainWindow::decodeDone ()
|
|||||||
QTextStream s(&f);
|
QTextStream s(&f);
|
||||||
QString t=s.readAll();
|
QString t=s.readAll();
|
||||||
if(t.length()>30) {
|
if(t.length()>30) {
|
||||||
|
m_isort=0;
|
||||||
|
if(ui->rbCall->isChecked()) m_isort=1;
|
||||||
|
if(ui->rbGrid->isChecked()) m_isort=2;
|
||||||
|
if(ui->rbSNR->isChecked()) m_isort=3;
|
||||||
|
if(ui->rbDist->isChecked()) m_isort=4;
|
||||||
QString t1=sortFoxCalls(t,m_isort,m_min_dB,m_max_dB);
|
QString t1=sortFoxCalls(t,m_isort,m_min_dB,m_max_dB);
|
||||||
ui->decodedTextBrowser->setText(t1);
|
ui->decodedTextBrowser->setText(t1);
|
||||||
// if(m_toBeCalled!="") ui->decodedTextBrowser->displayFoxToBeCalled(m_toBeCalled,"#ff99ff");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1049,7 +1049,7 @@ QLabel[oob="true"] {
|
|||||||
<enum>QTabWidget::Triangular</enum>
|
<enum>QTabWidget::Triangular</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>2</number>
|
<number>1</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tab">
|
<widget class="QWidget" name="tab">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
@ -1627,7 +1627,7 @@ list. The list can be maintained in Settings (F2).</string>
|
|||||||
<rect>
|
<rect>
|
||||||
<x>10</x>
|
<x>10</x>
|
||||||
<y>3</y>
|
<y>3</y>
|
||||||
<width>171</width>
|
<width>220</width>
|
||||||
<height>91</height>
|
<height>91</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@ -1637,7 +1637,7 @@ list. The list can be maintained in Settings (F2).</string>
|
|||||||
<rect>
|
<rect>
|
||||||
<x>10</x>
|
<x>10</x>
|
||||||
<y>100</y>
|
<y>100</y>
|
||||||
<width>221</width>
|
<width>220</width>
|
||||||
<height>101</height>
|
<height>101</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user