NOISSUE update component buttons some more when the versions change

This commit is contained in:
Petr Mrázek
2019-07-11 01:01:47 +02:00
parent 5110b58def
commit b9d4293552
5 changed files with 32 additions and 38 deletions

View File

@ -635,6 +635,9 @@ void ComponentList::componentDataChanged()
qWarning() << "ComponentList got dataChenged signal from a non-Component!";
return;
}
if(objPtr->getID() == "net.minecraft") {
emit minecraftChanged();
}
// figure out which one is it... in a seriously dumb way.
int index = 0;
for (auto component: d->components)