Remote Process Dialog: Update buttons if sysroot changes

Make sure 'Attach to Selected Process' is enabled again e.g. if first attaching
fails because of a missing sysroot, and the user then sets the sysroot.

Change-Id: I1aa949bfe0aa41186a76e7f683dd29070a6b63d4
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Kai Koehne
2012-01-04 14:20:01 +01:00
committed by hjk
parent 6c3baa2620
commit 090d643883

View File

@@ -194,6 +194,8 @@ StartGdbServerDialog::StartGdbServerDialog(QWidget *parent) :
connect(d->tableView->selectionModel(),
SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
SLOT(updateButtons()));
connect(d->sysrootPathChooser, SIGNAL(changed(QString)),
SLOT(updateButtons()));
//connect(d->updateListButton, SIGNAL(clicked()),
// SLOT(updateProcessList()));
connect(d->attachProcessButton, SIGNAL(clicked()), SLOT(attachToProcess()));