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)
|
||||
{
|
||||
CMakeTarget *target(qobject_cast<CMakeTarget *>(sender()));
|
||||
if (!bc || !target || target != activeTarget())
|
||||
if (!bc || bc->target() != activeTarget())
|
||||
return;
|
||||
|
||||
CMakeBuildConfiguration * cmakebc(qobject_cast<CMakeBuildConfiguration *>(bc));
|
||||
|
Reference in New Issue
Block a user