forked from qt-creator/qt-creator
Maemo: Fix Qemu button state.
Took inactive targets into account.
This commit is contained in:
@@ -550,6 +550,8 @@ bool MaemoQemuManager::targetUsesMatchingRuntimeConfig(Target *target,
|
||||
{
|
||||
if (!target)
|
||||
return false;
|
||||
if (target != target->project()->activeTarget())
|
||||
return false;
|
||||
|
||||
MaemoRunConfiguration *mrc =
|
||||
qobject_cast<MaemoRunConfiguration *> (target->activeRunConfiguration());
|
||||
|
Reference in New Issue
Block a user