1
0
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:
srcejon 2023-10-03 16:10:08 +01:00
parent 83ceae4ba3
commit 2d8ae1329b
2 changed files with 5 additions and 0 deletions

View File

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

View File

@ -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