mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-09 01:14:51 -04:00
Make freqs in mainwindow properly follow mouse clicks on waterfall.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2764 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
+5
-2
@@ -427,8 +427,11 @@ void CPlotter::mousePressEvent(QMouseEvent *event) //mousePressEvent
|
||||
{
|
||||
int x=event->x();
|
||||
setFQSO(x,false); // Wideband waterfall
|
||||
bool ctrl = (event->modifiers() & 0x4000000);
|
||||
if(!ctrl) setTxFreq(m_fQSO);
|
||||
bool ctrl = (event->modifiers() & Qt::ControlModifier);
|
||||
if(!ctrl) {
|
||||
setTxFreq(m_fQSO);
|
||||
emit freezeDecode1(1); //### ???
|
||||
}
|
||||
}
|
||||
|
||||
void CPlotter::mouseDoubleClickEvent(QMouseEvent *event) //mouse2click
|
||||
|
||||
Reference in New Issue
Block a user