mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-29 12:52:28 -04:00
Don't let mouse-click on WindGraph move frequencies in FST240W mode.
This commit is contained in:
parent
b9e92c416f
commit
f9e9a4e1ec
@ -697,7 +697,7 @@ int CPlotter::rxFreq() {return m_rxFreq;} //rxFreq
|
|||||||
|
|
||||||
void CPlotter::mouseReleaseEvent (QMouseEvent * event)
|
void CPlotter::mouseReleaseEvent (QMouseEvent * event)
|
||||||
{
|
{
|
||||||
if (Qt::LeftButton == event->button ()) {
|
if (Qt::LeftButton == event->button () and m_mode!="FST240W") {
|
||||||
int x=event->x();
|
int x=event->x();
|
||||||
if(x<0) x=0;
|
if(x<0) x=0;
|
||||||
if(x>m_Size.width()) x=m_Size.width();
|
if(x>m_Size.width()) x=m_Size.width();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user