forked from qt-creator/qt-creator
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:
@@ -194,6 +194,8 @@ StartGdbServerDialog::StartGdbServerDialog(QWidget *parent) :
|
|||||||
connect(d->tableView->selectionModel(),
|
connect(d->tableView->selectionModel(),
|
||||||
SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
|
SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
|
||||||
SLOT(updateButtons()));
|
SLOT(updateButtons()));
|
||||||
|
connect(d->sysrootPathChooser, SIGNAL(changed(QString)),
|
||||||
|
SLOT(updateButtons()));
|
||||||
//connect(d->updateListButton, SIGNAL(clicked()),
|
//connect(d->updateListButton, SIGNAL(clicked()),
|
||||||
// SLOT(updateProcessList()));
|
// SLOT(updateProcessList()));
|
||||||
connect(d->attachProcessButton, SIGNAL(clicked()), SLOT(attachToProcess()));
|
connect(d->attachProcessButton, SIGNAL(clicked()), SLOT(attachToProcess()));
|
||||||
|
|||||||
Reference in New Issue
Block a user