// Apply button on properties tab private void ApplyButton_Click(object sender, EventArgs e) { if (this.configChanged && changedConfigs.Count > 0) { SetUnsetConfig r = TaskHandlers.SetConfig(changedConfigs); if (r.Error == String.Empty) { DisplayMessageBox.Info("Properties configured: " + String.Join(",", r.Properties), "CodeReady Containers - Settings Applied"); } else { DisplayMessageBox.Error(r.Error); } } if (this.configsNeedingUnset.Count > 0) { SetUnsetConfig r = TaskHandlers.UnsetConfig(configsNeedingUnset); if (r.Error == String.Empty) { DisplayMessageBox.Info("Properties unset: " + String.Join(",", r.Properties), "CodeReady Containers - Settings Applied"); } else { DisplayMessageBox.Error(r.Error); } } // Load the configs again and reset the change trackers getConfigurationAndResetChanged(); }