Bläddra i källkod

LoadOldVer fix when command fails to execute

Brian Fiete 3 år sedan
förälder
incheckning
7b6291bba5
1 ändrade filer med 1 tillägg och 1 borttagningar
  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);
 				Debug.Assert(mOldVerLoadExecutionInstance == null);
 				mOldVerLoadExecutionInstance = gApp.DoRun(null, mOldVerLoadCmd, gApp.mInstallDir, .None);
 				mOldVerLoadExecutionInstance = gApp.DoRun(null, mOldVerLoadCmd, gApp.mInstallDir, .None);
-				mOldVerLoadExecutionInstance.mAutoDelete = false;
+				mOldVerLoadExecutionInstance?.mAutoDelete = false;
 			}
 			}
 
 
 			CloseHeader();
 			CloseHeader();