瀏覽代碼

Fix case where PET would dismiss current compiler options when loading a new file

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@8628 8c9fc860-2736-0410-a75d-ab315db34111
negelef 6 年之前
父節點
當前提交
227e612108
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      source/PET.Mod

+ 1 - 1
source/PET.Mod

@@ -1883,10 +1883,10 @@ TYPE
 						filenameEdit.SetAsString("");
 					END;
 				ELSE
-					Load(filename, codecFormat);
 					IF (currentPage # NIL) THEN
 						optionsEdit.GetAsString(currentPage.options);
 					END;
+					Load(filename, codecFormat);
 				END;
 			END;
 		END LoadHandler;