mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-23 04:28:36 -04:00
Make right-click mouse press events less error-prone.
(cherry picked from commit a5aa00c27f0a405f2d6c0ee2522057b9e59e9ecf)
This commit is contained in:
parent
a916045d40
commit
830cd87489
@ -6684,9 +6684,11 @@ void MainWindow::mousePressEvent(QMouseEvent *event)
|
||||
m_config.setSpecial_Q65_Pileup();
|
||||
m_specOp=m_config.special_op_id();
|
||||
on_actionQ65_triggered();
|
||||
ui->q65Button->clearFocus();
|
||||
}
|
||||
if(ui->jt65Button->hasFocus() && (event->button() & Qt::RightButton)) { // switch to JT9 mode
|
||||
on_actionJT9_triggered();
|
||||
ui->jt65Button->clearFocus();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user