2017-10-25 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdadmin(1) that caused a segfault when opening the
	'Edit Host' dialog.
This commit is contained in:
Fred Gleason 2017-10-25 08:49:06 -04:00
parent afbc6c5873
commit 939cd03a30
2 changed files with 17 additions and 16 deletions

View File

@ -16198,3 +16198,6 @@
2017-10-19 Fred Gleason <fredg@paravelsystems.com>
* Updated 'NEWS'.
* Incremented the package version to 2.17.0int02.
2017-10-25 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdadmin(1) that caused a segfault when opening the
'Edit Host' dialog.

View File

@ -92,7 +92,6 @@ EditStation::EditStation(QString sname,QWidget *parent)
RDTextValidator *validator=new RDTextValidator(this);
QIntValidator *macro_validator=new QIntValidator(1,RD_MAX_CART_NUMBER,this);
//
// Station Name
//
@ -211,7 +210,6 @@ EditStation::EditStation(QString sname,QWidget *parent)
station_stop_cart_button->setFont(small_font);
connect(station_stop_cart_button,SIGNAL(clicked()),
this,SLOT(stopCartClickedData()));
caeStationActivatedData(station_station->caeStation());
//
// Heartbeat Checkbox
@ -461,6 +459,7 @@ EditStation::EditStation(QString sname,QWidget *parent)
//
// Populate Fields
//
caeStationActivatedData(station_station->caeStation());
station_name_edit->setText(station_station->name());
station_short_name_edit->setText(station_station->shortName());
station_description_edit->setText(station_station->description());
@ -640,7 +639,6 @@ void EditStation::caeStationActivatedData(const QString &station_name)
station_cue_sel->setDisabled(true);
station_cue_sel->setDisabled(true);
}
}