ide: Alt+L in log goes back #1357

git-svn-id: svn://ultimatepp.org/upp/trunk@9397 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-01-16 06:51:08 +00:00
parent c8561d822d
commit cc03a31a3b

View file

@ -424,6 +424,12 @@ String Ide::GetLogPath()
void Ide::OpenLog()
{
String p = GetLogPath();
String path = NormalizePath(p);
if(!designer && path == editfile) {
History(-1);
return;
}
AddHistory();
if(FileExists(p))
EditFile(p);
}