DEADSOFTWARE

dfzip: more checks and user visible errors
[d2df-editor.git] / src / editor / f_options.pas
index ebb38cb3a6dae85cb4194bb7c5e29b46fb060676..2f7d323eb23977e1e8df2c6891e949cbe942658c 100644 (file)
@@ -72,7 +72,7 @@ procedure RegisterFileType(ext: String; FileName: String);
 implementation
 
 uses
-  LazFileUtils, f_main, StdConvs, CONFIG, g_language, g_options;
+  LazFileUtils, f_main, StdConvs, CONFIG, WADEDITOR, g_language, g_options;
 
 {$R *.lfm}
 
@@ -216,6 +216,8 @@ begin
   // save into config
   config := TConfig.CreateFile(CfgFileName);
 
+  config.WriteInt('WADEditor', 'LogLevel', gWADEditorLogLevel);
+
   config.WriteInt('Editor', 'DotColor', DotColor);
   config.WriteBool('Editor', 'DotEnable', DotEnable);
   config.WriteInt('Editor', 'DotStepOne', DotStepOne);