forked from qt-creator/qt-creator
Fix cmake wizard not showing after a file change
This commit is contained in:
@@ -104,8 +104,7 @@ void CMakeProject::fileChanged(const QString &fileName)
|
|||||||
|
|
||||||
void CMakeProject::changeActiveBuildConfiguration(ProjectExplorer::BuildConfiguration *bc)
|
void CMakeProject::changeActiveBuildConfiguration(ProjectExplorer::BuildConfiguration *bc)
|
||||||
{
|
{
|
||||||
CMakeTarget *target(qobject_cast<CMakeTarget *>(sender()));
|
if (!bc || bc->target() != activeTarget())
|
||||||
if (!bc || !target || target != activeTarget())
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
CMakeBuildConfiguration * cmakebc(qobject_cast<CMakeBuildConfiguration *>(bc));
|
CMakeBuildConfiguration * cmakebc(qobject_cast<CMakeBuildConfiguration *>(bc));
|
||||||
|
Reference in New Issue
Block a user