Fix Download Ride Dialog instructions refresh

When changing the device type in the Download
Ride dilaog the instructions do not change to
reflect the device selected. This patch fixes
that.

Fixes #434.
This commit is contained in:
Mark Liversedge
2011-08-30 22:23:22 +01:00
parent 8fcbe81daf
commit e0711b4bb7

View File

@@ -57,6 +57,7 @@ DownloadRideDialog::DownloadRideDialog(MainWindow *mainWindow,
connect(eraseRideButton, SIGNAL(clicked()), this, SLOT(eraseClicked()));
connect(rescanButton, SIGNAL(clicked()), this, SLOT(scanCommPorts()));
connect(cancelButton, SIGNAL(clicked()), this, SLOT(cancelClicked()));
connect(deviceCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(setReadyInstruct()));
QHBoxLayout *buttonLayout = new QHBoxLayout;
buttonLayout->addWidget(downloadButton);