forked from qt-creator/qt-creator
Debugger: Fix core loading dialog
With lldb on Windows I had cases when the "OK" button would be disabled even though I had the files set for both fields. Change-Id: I510e63d0e27e685df7c5c3f6e6f1d608f0e63bb0 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -161,7 +161,10 @@ AttachCoreDialog::~AttachCoreDialog()
|
|||||||
|
|
||||||
int AttachCoreDialog::exec()
|
int AttachCoreDialog::exec()
|
||||||
{
|
{
|
||||||
connect(d->symbolFileName, &PathChooser::textChanged, this, &AttachCoreDialog::changed);
|
connect(d->symbolFileName, &PathChooser::validChanged, this, &AttachCoreDialog::changed);
|
||||||
|
connect(d->coreFileName, &PathChooser::validChanged, this, [this] {
|
||||||
|
coreFileChanged(d->coreFileName->rawFilePath());
|
||||||
|
});
|
||||||
connect(d->coreFileName, &PathChooser::textChanged, this, [this] {
|
connect(d->coreFileName, &PathChooser::textChanged, this, [this] {
|
||||||
coreFileChanged(d->coreFileName->rawFilePath());
|
coreFileChanged(d->coreFileName->rawFilePath());
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user