summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
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"))