mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 13:48:42 -05:00
Fix band hopping regression
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5478 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
307ead0434
commit
98842e9a21
@ -4303,9 +4303,8 @@ void MainWindow::bandHopping()
|
|||||||
}
|
}
|
||||||
|
|
||||||
QString new_band;
|
QString new_band;
|
||||||
int index;
|
if (s.contains (hopping_bands[iband0])) { //See if designated band is active
|
||||||
if ((index = s.indexOf (hopping_bands[iband0])) >= 0) { //See if designated band is active
|
new_band = hopping_bands[iband0];
|
||||||
new_band = hopping_bands[index];
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// If designated band is not active, choose one that is active
|
// If designated band is not active, choose one that is active
|
||||||
|
Loading…
Reference in New Issue
Block a user