fix, open file from cmd line param crash

GUI not yet visible, error in inherited setFocus
This commit is contained in:
Basile Burg 2015-01-28 00:33:21 +01:00
parent 56299e965f
commit 94e88424af
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ begin
loadCache; loadCache;
// //
fModified := false; fModified := false;
setFocus; if Showing then setFocus;
subjDocChanged(TCEMultiDocSubject(fMultiDocSubject), self); subjDocChanged(TCEMultiDocSubject(fMultiDocSubject), self);
end; end;