GUI: Failed to start default Notepad++.
Notepad++ found and set as editor by default failed to start. There were no quotation marks around path containing space chars.
This commit is contained in:
parent
d2182dbd3e
commit
16fe2f8802
|
@ -59,7 +59,7 @@ void ApplicationList::LoadSettings(QSettings *programSettings)
|
|||
const QString appPath(getenv("ProgramFiles"));
|
||||
if (!appPath.isNull() && QFileInfo(appPath + "\\Notepad++\\notepad++.exe").isExecutable())
|
||||
{
|
||||
AddApplicationType("Notepad++", QString(appPath) + "\\Notepad++\\notepad++.exe -n(line) (file)");
|
||||
AddApplicationType("Notepad++", "\"" + QString(appPath) + "\\Notepad++\\notepad++.exe\" -n(line) (file)");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue