Added the ability to turn off firmware sounds

This commit is contained in:
LarsBrubaker 2021-06-11 07:26:02 -07:00
parent 99fc92c2e8
commit 3d753cfa13
6 changed files with 29 additions and 2 deletions

View file

@ -1121,6 +1121,17 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
RebuildGCodeOnChange = false
},
new SliceSettingData()
{
SlicerConfigName = SettingsKey.enable_firmware_sounds,
PresentationName = "Enable Firmware Sounds".Localize(),
HelpText = "Allow M300 commands (play sound) to be sent to the firmware. Disable to turn off sounds.".Localize(),
DataEditType = DataEditTypes.CHECK_BOX,
ShowAsOverride = true,
DefaultValue = "1",
RequiredDisplayDetail = DisplayDetailRequired.Simple,
RebuildGCodeOnChange = false
},
new SliceSettingData()
{
SlicerConfigName = SettingsKey.runout_sensor_check_distance,
PresentationName = "Runout Check Distance".Localize(),