mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 08:04:49 -05:00
Add signal for when annotations change
This commit is contained in:
parent
83ceae4ba3
commit
2d8ae1329b
@ -3599,6 +3599,8 @@ void GLSpectrumView::updateWaterfallMarkers()
|
||||
|
||||
void GLSpectrumView::updateAnnotationMarkers()
|
||||
{
|
||||
emit updateAnnotations(); // Notify other plugins we have updated annotations
|
||||
|
||||
if (!(m_markersDisplay & SpectrumSettings::MarkersDisplayAnnotations)) {
|
||||
return;
|
||||
}
|
||||
|
@ -535,6 +535,9 @@ private slots:
|
||||
signals:
|
||||
// Emitted when user tries to scroll to frequency currently out of range
|
||||
void requestCenterFrequency(qint64 frequency);
|
||||
// Emitted when annotations are changed
|
||||
void updateAnnotations();
|
||||
|
||||
};
|
||||
|
||||
#endif // INCLUDE_GLSPECTRUMVIEW_H
|
||||
|
Loading…
Reference in New Issue
Block a user