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
1 changed files with 3 additions and 0 deletions

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);
}
}
}