mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-21 19:48:54 -04:00
For Q65, Ctrl+Click on a call in ActiveStations leaves m_freqNominal unchanged.
This commit is contained in:
parent
2375e2000c
commit
b54d7f2335
@ -106,7 +106,8 @@ void ActiveStations::on_textEdit_clicked()
|
||||
cursor.movePosition(QTextCursor::EndOfBlock, QTextCursor::KeepAnchor);
|
||||
text = cursor.selectedText();
|
||||
if(text!="") {
|
||||
int nline=text.left(2).toInt()-1;
|
||||
int nline=text.left(2).toInt();
|
||||
if(QGuiApplication::keyboardModifiers().testFlag(Qt::ControlModifier)) nline=-nline;
|
||||
emit callSandP(nline);
|
||||
}
|
||||
}
|
||||
|
@ -3764,6 +3764,9 @@ void MainWindow::ARRL_Digi_Display()
|
||||
|
||||
void MainWindow::callSandP2(int n)
|
||||
{
|
||||
bool bHoldFreq = (n<0);
|
||||
n=qAbs(n)-1;
|
||||
qDebug() << "aa" << n << bHoldFreq;
|
||||
if(m_mode!="Q65" and m_ready2call[n]=="") return;
|
||||
QStringList w=m_ready2call[n].split(' ', SkipEmptyParts);
|
||||
if(m_mode=="Q65" and m_specOp==SpecOp::Q65_PILEUP and n <= m_callers->size()) {
|
||||
@ -3784,9 +3787,11 @@ void MainWindow::callSandP2(int n)
|
||||
}
|
||||
|
||||
if(m_mode=="Q65") {
|
||||
double kHz=w[1].toDouble();
|
||||
int nMHz=m_freqNominal/1000000;
|
||||
m_freqNominal=(nMHz*1000 + kHz)* 1000;
|
||||
if(!bHoldFreq) {
|
||||
double kHz=w[1].toDouble();
|
||||
int nMHz=m_freqNominal/1000000;
|
||||
m_freqNominal=(nMHz*1000 + kHz)* 1000;
|
||||
}
|
||||
m_deCall=w[3];
|
||||
m_deGrid=w[4];
|
||||
m_txFirst=(w[5]=="0");
|
||||
|
Loading…
Reference in New Issue
Block a user