Prechádzať zdrojové kódy

LoadOldVer fix when command fails to execute

Brian Fiete 3 rokov pred
rodič
commit
7b6291bba5
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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();