Prepend newly cloned addons

This commit is contained in:
woblight
2018-06-23 20:08:00 +02:00
parent b4698f0b67
commit a330bf679c
+1 -1
View File
@@ -221,7 +221,7 @@ void Control::clone(QUrl url)
},[this](auto ret){
if (ret.error.isEmpty()) {
auto add = new Addon(ret.name, ret.repo);
m_addons << add;
m_addons.prepend(add);
addonsChanged(m_addons);
add->unpackSubfolders();
} else {