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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user