diff --git a/launcher/ui/pages/instance/ModFolderPage.cpp b/launcher/ui/pages/instance/ModFolderPage.cpp index 3baec1de..3becd1db 100644 --- a/launcher/ui/pages/instance/ModFolderPage.cpp +++ b/launcher/ui/pages/instance/ModFolderPage.cpp @@ -143,10 +143,17 @@ ModFolderPage::ModFolderPage( ui(new Ui::ModFolderPage) { ui->setupUi(this); + auto act = ui->actionDownload; if(id == "mods") { - auto act = ui->actionDownload; connect(act, &QAction::triggered, this, &ModFolderPage::on_actionInstall_mods_triggered); } + else{ + // HACK: Prevent the download button from showing in the shaders / resource packs tab + // This whole thing needs some cleaning up anyway, no next time we can do it properly... + act->setVisible(false); + act->setText(""); + act->setToolTip(""); + } ui->actionsToolbar->insertSpacer(ui->actionView_configs); m_inst = inst;