diff options
Diffstat (limited to 'api/logic')
-rw-r--r-- | api/logic/tools/MCEditTool.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/api/logic/tools/MCEditTool.cpp b/api/logic/tools/MCEditTool.cpp index f3d550d0..8e0d7ae2 100644 --- a/api/logic/tools/MCEditTool.cpp +++ b/api/logic/tools/MCEditTool.cpp @@ -62,13 +62,13 @@ void MCEditTool::runImpl() 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")) |