ソースを参照

LoadOldVer fix when command fails to execute

Brian Fiete 3 年 前
コミット
7b6291bba5
1 ファイル変更1 行追加1 行削除
  1. 1 1
      IDE/src/ui/SourceViewPanel.bf

+ 1 - 1
IDE/src/ui/SourceViewPanel.bf

@@ -3691,7 +3691,7 @@ namespace IDE.ui
 			{
 				Debug.Assert(mOldVerLoadExecutionInstance == null);
 				mOldVerLoadExecutionInstance = gApp.DoRun(null, mOldVerLoadCmd, gApp.mInstallDir, .None);
-				mOldVerLoadExecutionInstance.mAutoDelete = false;
+				mOldVerLoadExecutionInstance?.mAutoDelete = false;
 			}
 
 			CloseHeader();