1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-12 18:58:48 -04:00

BasicChannelSettingsDialog: added indicator to tell if updates were made

This commit is contained in:
f4exb
2017-10-21 10:34:00 +02:00
parent 4815b4bc3e
commit 79f46bec29
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -8,7 +8,8 @@
BasicChannelSettingsDialog::BasicChannelSettingsDialog(ChannelMarker* marker, QWidget *parent) :
QDialog(parent),
ui(new Ui::BasicChannelSettingsDialog),
m_channelMarker(marker)
m_channelMarker(marker),
m_hasChanged(false)
{
ui->setupUi(this);
ui->title->setText(m_channelMarker->getTitle());
@@ -77,5 +78,6 @@ void BasicChannelSettingsDialog::accept()
m_channelMarker->setFrequencyScaleDisplayType((ChannelMarker::frequencyScaleDisplay_t) ui->fScaleDisplayType->currentIndex());
m_hasChanged = true;
QDialog::accept();
}