1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-20 08:31:01 -05:00

When channel marker center line is draggable then show frequency

This commit is contained in:
f4exb 2015-06-20 11:09:08 +02:00
parent 1a606423b3
commit cba4942971

View File

@ -1359,10 +1359,13 @@ void GLSpectrum::mouseMoveEvent(QMouseEvent* event)
setCursor(Qt::SizeHorCursor);
m_cursorState = CSChannel;
m_cursorChannel = i;
m_channelMarkerStates[i]->m_channelMarker->setHighlighted(true);
return;
} else if(m_cursorState == CSChannel) {
return;
}
} else if (m_channelMarkerStates[i]->m_channelMarker->getHighlighted()) {
m_channelMarkerStates[i]->m_channelMarker->setHighlighted(false);
}
}
}