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:
Joe Taylor 2017-11-15 21:17:12 +00:00
parent e5dce12086
commit 7368eaa828
2 changed files with 8 additions and 4 deletions

View File

@ -2763,9 +2763,13 @@ void MainWindow::decodeDone ()
QTextStream s(&f);
QString t=s.readAll();
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);
ui->decodedTextBrowser->setText(t1);
// if(m_toBeCalled!="") ui->decodedTextBrowser->displayFoxToBeCalled(m_toBeCalled,"#ff99ff");
}
}
}

View File

@ -1049,7 +1049,7 @@ QLabel[oob="true"] {
<enum>QTabWidget::Triangular</enum>
</property>
<property name="currentIndex">
<number>2</number>
<number>1</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
@ -1627,7 +1627,7 @@ list. The list can be maintained in Settings (F2).</string>
<rect>
<x>10</x>
<y>3</y>
<width>171</width>
<width>220</width>
<height>91</height>
</rect>
</property>
@ -1637,7 +1637,7 @@ list. The list can be maintained in Settings (F2).</string>
<rect>
<x>10</x>
<y>100</y>
<width>221</width>
<width>220</width>
<height>101</height>
</rect>
</property>