Skip to content

Commit

Permalink
Merge pull request #11252 from keymanapp/fix/developer/11194-avoid-cr…
Browse files Browse the repository at this point in the history
…ash-if-mru-project-is-missing

fix(developer): test that MRU project exists before attempting to reference on startup
  • Loading branch information
mcdurdin authored Apr 22, 2024
2 parents 630ce3a + 5f7f9e9 commit 50f2547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion developer/src/tike/main/UfrmMain.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,7 @@ function TfrmKeymanDeveloper.OpenFile(FFileName: string; FCloseNewFile: Boolean)

if ext = Ext_ProjectSource then
begin
if SameFileName(GetGlobalProjectUI.FileName, FFileName) then
if IsGlobalProjectUIReady and SameFileName(GetGlobalProjectUI.FileName, FFileName) then
begin
ShowProject;
Exit;
Expand Down

0 comments on commit 50f2547

Please sign in to comment.