GH-1521 When json editor is custom, actually pass the filename to it
This commit is contained in:
parent
36f3813ce5
commit
07608ebc4c
@ -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});
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user