diff options
author | Petr Mrázek <peterix@gmail.com> | 2019-07-11 01:01:47 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2019-07-11 01:01:47 +0200 |
commit | b9d429355255d10541fd14799c419a1b5aeeb128 (patch) | |
tree | a6842c81878ae32abf42c0bca6f635acbefac72c /api/logic/minecraft/ComponentList.cpp | |
parent | 5110b58def7e3e3118e6624959d6e5d561002c74 (diff) | |
download | MultiMC-b9d429355255d10541fd14799c419a1b5aeeb128.tar MultiMC-b9d429355255d10541fd14799c419a1b5aeeb128.tar.gz MultiMC-b9d429355255d10541fd14799c419a1b5aeeb128.tar.lz MultiMC-b9d429355255d10541fd14799c419a1b5aeeb128.tar.xz MultiMC-b9d429355255d10541fd14799c419a1b5aeeb128.zip |
NOISSUE update component buttons some more when the versions change
Diffstat (limited to 'api/logic/minecraft/ComponentList.cpp')
-rw-r--r-- | api/logic/minecraft/ComponentList.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/api/logic/minecraft/ComponentList.cpp b/api/logic/minecraft/ComponentList.cpp index e5c373a4..b2afdb17 100644 --- a/api/logic/minecraft/ComponentList.cpp +++ b/api/logic/minecraft/ComponentList.cpp @@ -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) |