From a330bf679ca8d65a00aa8841fc0e0887458701d6 Mon Sep 17 00:00:00 2001 From: woblight Date: Sat, 23 Jun 2018 20:08:00 +0200 Subject: [PATCH] Prepend newly cloned addons --- control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control.cpp b/control.cpp index 55dc7a7..4eac088 100644 --- a/control.cpp +++ b/control.cpp @@ -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 {