From f95cebaf06e30705d9980fa765189674f13113a7 Mon Sep 17 00:00:00 2001 From: flow Date: Thu, 3 Mar 2022 01:10:10 -0300 Subject: [PATCH] change 'Install Mods' -> 'Download Mods' and change position --- launcher/ui/pages/instance/ModFolderPage.cpp | 3 +-- launcher/ui/pages/instance/ModFolderPage.ui | 9 +++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/launcher/ui/pages/instance/ModFolderPage.cpp b/launcher/ui/pages/instance/ModFolderPage.cpp index b342accfc..3baec1def 100644 --- a/launcher/ui/pages/instance/ModFolderPage.cpp +++ b/launcher/ui/pages/instance/ModFolderPage.cpp @@ -144,8 +144,7 @@ ModFolderPage::ModFolderPage( { ui->setupUi(this); if(id == "mods") { - auto act = new QAction(tr("Install Mods"), this); - ui->actionsToolbar->insertActionBefore(ui->actionView_configs,act); + auto act = ui->actionDownload; connect(act, &QAction::triggered, this, &ModFolderPage::on_actionInstall_mods_triggered); } ui->actionsToolbar->insertSpacer(ui->actionView_configs); diff --git a/launcher/ui/pages/instance/ModFolderPage.ui b/launcher/ui/pages/instance/ModFolderPage.ui index 0fb51e84f..75e0d1c55 100644 --- a/launcher/ui/pages/instance/ModFolderPage.ui +++ b/launcher/ui/pages/instance/ModFolderPage.ui @@ -84,6 +84,7 @@ false + @@ -99,6 +100,14 @@ Add mods + + + &Download Mods + + + Download Mods + + &Remove