summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-11-02 01:16:41 +0100
committerPetr Mrázek <peterix@gmail.com>2016-11-02 01:16:41 +0100
commita9c0d812a67c7d044a1148523198cc37ad24db8c (patch)
treea8ba56bc2a24a06bbcd8337f8da69c3fa7c196b4 /application
parentb6b2350e027d127049c61d8e01dc5416ac5c037b (diff)
downloadMultiMC-a9c0d812a67c7d044a1148523198cc37ad24db8c.tar
MultiMC-a9c0d812a67c7d044a1148523198cc37ad24db8c.tar.gz
MultiMC-a9c0d812a67c7d044a1148523198cc37ad24db8c.tar.lz
MultiMC-a9c0d812a67c7d044a1148523198cc37ad24db8c.tar.xz
MultiMC-a9c0d812a67c7d044a1148523198cc37ad24db8c.zip
NOISSUE prefer shell script for running MCEdit on linux
Diffstat (limited to 'application')
-rw-r--r--application/pages/WorldListPage.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/application/pages/WorldListPage.cpp b/application/pages/WorldListPage.cpp
index befb6b5e..fcef716b 100644
--- a/application/pages/WorldListPage.cpp
+++ b/application/pages/WorldListPage.cpp
@@ -172,13 +172,13 @@ void WorldListPage::on_mcEditBtn_clicked()
QDir mceditDir(mceditPath);
QString program;
#ifdef Q_OS_LINUX
- if (mceditDir.exists("mcedit.py"))
+ if (mceditDir.exists("mcedit.sh"))
{
- program = mceditDir.absoluteFilePath("mcedit.py");
+ program = mceditDir.absoluteFilePath("mcedit.sh");
}
- else if (mceditDir.exists("mcedit.sh"))
+ else if (mceditDir.exists("mcedit.py"))
{
- program = mceditDir.absoluteFilePath("mcedit.sh");
+ program = mceditDir.absoluteFilePath("mcedit.py");
}
#elif defined(Q_OS_WIN32)
if (mceditDir.exists("mcedit.exe"))