aboutsummaryrefslogtreecommitdiff
path: root/launcher
diff options
context:
space:
mode:
Diffstat (limited to 'launcher')
-rw-r--r--launcher/ui/pages/instance/ModFolderPage.cpp12
-rw-r--r--launcher/ui/pages/instance/ModFolderPage.ui2
2 files changed, 11 insertions, 3 deletions
diff --git a/launcher/ui/pages/instance/ModFolderPage.cpp b/launcher/ui/pages/instance/ModFolderPage.cpp
index b342accf..e4ad9012 100644
--- a/launcher/ui/pages/instance/ModFolderPage.cpp
+++ b/launcher/ui/pages/instance/ModFolderPage.cpp
@@ -143,11 +143,19 @@ ModFolderPage::ModFolderPage(
ui(new Ui::ModFolderPage)
{
ui->setupUi(this);
+
+ // This is structured like that so that these changes
+ // do not affect the Resouce pack and Shader pack tabs
if(id == "mods") {
- auto act = new QAction(tr("Install Mods"), this);
- ui->actionsToolbar->insertActionBefore(ui->actionView_configs,act);
+ auto act = new QAction(tr("Download mods"), this);
+ act->setToolTip(tr("Download mods from online mod platforms"));
+ ui->actionsToolbar->insertActionBefore(ui->actionAdd, act);
connect(act, &QAction::triggered, this, &ModFolderPage::on_actionInstall_mods_triggered);
+
+ ui->actionAdd->setText("Add .jar");
+ ui->actionAdd->setToolTip("Add mods via local file");
}
+
ui->actionsToolbar->insertSpacer(ui->actionView_configs);
m_inst = inst;
diff --git a/launcher/ui/pages/instance/ModFolderPage.ui b/launcher/ui/pages/instance/ModFolderPage.ui
index 0fb51e84..ab59b0df 100644
--- a/launcher/ui/pages/instance/ModFolderPage.ui
+++ b/launcher/ui/pages/instance/ModFolderPage.ui
@@ -96,7 +96,7 @@
<string>&amp;Add</string>
</property>
<property name="toolTip">
- <string>Add mods</string>
+ <string>Add</string>
</property>
</action>
<action name="actionRemove">