diff --git a/gui/applicationlist.cpp b/gui/applicationlist.cpp index c9d3e5b0f..4a0db9ae0 100644 --- a/gui/applicationlist.cpp +++ b/gui/applicationlist.cpp @@ -196,6 +196,16 @@ bool ApplicationList::FindDefaultWindowsEditor() return true; } + const QString notepadTwoPath = appPath + "\\Notepad2\\Notepad2.exe"; + if (QFileInfo(notepadTwoPath).isExecutable()) { + Application app; + app.setName("Notepad2"); + app.setPath("\"" + notepadTwoPath + "\""); + app.setParameters("/g (line) (file)"); + AddApplication(app); + return true; + } + const QString windowsPath(getenv("windir")); const QString notepadPath = windowsPath + "\\system32\\notepad.exe"; if (QFileInfo(notepadPath).isExecutable()) {