From 090d6438839ec4446c596040e5c3fd5d45fc46d1 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Wed, 4 Jan 2012 14:20:01 +0100 Subject: [PATCH] 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 --- src/plugins/remotelinux/startgdbserverdialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/remotelinux/startgdbserverdialog.cpp b/src/plugins/remotelinux/startgdbserverdialog.cpp index 794fb6135f9..0d8e941983d 100644 --- a/src/plugins/remotelinux/startgdbserverdialog.cpp +++ b/src/plugins/remotelinux/startgdbserverdialog.cpp @@ -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()));