Example #1
0
 private void LoadGlobalSettings()
 {
     globalStore       = settings.GetGlobalStore().AsWrapper();
     AutoLog           = globalStore.AutoLog;
     AutoScroll        = globalStore.AutoScroll;
     ShowColumnHeaders = globalStore.ShowColumnHeaders;
     ShowStatusBar     = globalStore.ShowStatusBar;
 }
Example #2
0
        private void LoadAmbientSettings()
        {
            ambientStore    = settings.GetAmbientStore().AsWrapper();
            IsFilterEnabled = ambientStore.IsFilterEnabled;

            traceProfile = GetActiveProfile(ambientStore);
            PropagateAutoLog();

            string activeViewPreset = ambientStore.ActiveViewPreset;
            var    activePreset     = AdvModel.PresetCollection.TryGetCurrentPresetByName(activeViewPreset);

            if (activePreset != null)
            {
                AdvModel.Preset = activePreset;
            }
        }