summaryrefslogtreecommitdiffstats
path: root/application/pages/ModFolderPage.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-11-26 14:59:27 +0100
committerPetr Mrázek <peterix@gmail.com>2016-11-26 14:59:27 +0100
commitce70407363b9bdd8d7901467f2bdb91179a9ac22 (patch)
treee498280edf12556388de55fd4da18643c1e5ab66 /application/pages/ModFolderPage.cpp
parentdccf9d7219282725967c2305502d7ff98e8cbc62 (diff)
downloadMultiMC-ce70407363b9bdd8d7901467f2bdb91179a9ac22.tar
MultiMC-ce70407363b9bdd8d7901467f2bdb91179a9ac22.tar.gz
MultiMC-ce70407363b9bdd8d7901467f2bdb91179a9ac22.tar.lz
MultiMC-ce70407363b9bdd8d7901467f2bdb91179a9ac22.tar.xz
MultiMC-ce70407363b9bdd8d7901467f2bdb91179a9ac22.zip
NOISSUE add button for opening the config folder from mods pages
Diffstat (limited to 'application/pages/ModFolderPage.cpp')
-rw-r--r--application/pages/ModFolderPage.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/application/pages/ModFolderPage.cpp b/application/pages/ModFolderPage.cpp
index 4ab6ac3d..bc8b8300 100644
--- a/application/pages/ModFolderPage.cpp
+++ b/application/pages/ModFolderPage.cpp
@@ -185,6 +185,11 @@ void ModFolderPage::on_rmModBtn_clicked()
m_mods->deleteMods(selection.indexes());
}
+void ModFolderPage::on_configFolderBtn_clicked()
+{
+ DesktopServices::openDirectory(m_inst->instanceConfigFolder(), true);
+}
+
void ModFolderPage::on_viewModBtn_clicked()
{
DesktopServices::openDirectory(m_mods->dir().absolutePath(), true);