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)
|
if (!target)
|
||||||
return false;
|
return false;
|
||||||
|
if (target != target->project()->activeTarget())
|
||||||
|
return false;
|
||||||
|
|
||||||
MaemoRunConfiguration *mrc =
|
MaemoRunConfiguration *mrc =
|
||||||
qobject_cast<MaemoRunConfiguration *> (target->activeRunConfiguration());
|
qobject_cast<MaemoRunConfiguration *> (target->activeRunConfiguration());
|
||||||
|
Reference in New Issue
Block a user