forked from qt-creator/qt-creator
Utils: Do not update pathchooser value from displayed string
The displayed string may differ from its "real" resulting path depending on having a base directory or not. Fixes: QTCREATORBUG-26408 Change-Id: Ic569671899329249559a2bfb3ecd30190f166dba Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -1081,8 +1081,9 @@ void StringAspect::addToLayout(LayoutBuilder &builder)
|
|||||||
d->m_blockAutoApply = false;
|
d->m_blockAutoApply = false;
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
connect(d->m_pathChooserDisplay, &PathChooser::pathChanged, this, [this] {
|
connect(d->m_pathChooserDisplay, &PathChooser::pathChanged,
|
||||||
setValue(d->m_pathChooserDisplay->filePath().toString());
|
this, [this](const QString &path) {
|
||||||
|
setValue(path);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user