From 07608ebc4cdcbbb9e886b69af9aba6043af36612 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 17 Mar 2016 13:25:57 +0100 Subject: GH-1521 When json editor is custom, actually pass the filename to it --- application/MultiMC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/MultiMC.cpp') diff --git a/application/MultiMC.cpp b/application/MultiMC.cpp index 63a3b40b..4a84c6bd 100644 --- a/application/MultiMC.cpp +++ b/application/MultiMC.cpp @@ -944,7 +944,7 @@ bool MultiMC::openJsonEditor(const QString &filename) else { //return DesktopServices::openFile(m_settings->get("JsonEditor").toString(), file); - return DesktopServices::run(m_settings->get("JsonEditor").toString(), {}); + return DesktopServices::run(m_settings->get("JsonEditor").toString(), {file}); } } -- cgit v1.2.3