diff --git a/DisplayMagician/UIForms/ShortcutForm.Designer.cs b/DisplayMagician/UIForms/ShortcutForm.Designer.cs index 4d3fcbd..1b0d017 100644 --- a/DisplayMagician/UIForms/ShortcutForm.Designer.cs +++ b/DisplayMagician/UIForms/ShortcutForm.Designer.cs @@ -291,6 +291,7 @@ namespace DisplayMagician.UIForms // // btn_rescan_audio // + this.btn_rescan_audio.Enabled = false; this.btn_rescan_audio.FlatAppearance.MouseDownBackColor = System.Drawing.Color.IndianRed; this.btn_rescan_audio.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Brown; this.btn_rescan_audio.FlatStyle = System.Windows.Forms.FlatStyle.Flat; diff --git a/DisplayMagician/UIForms/ShortcutForm.cs b/DisplayMagician/UIForms/ShortcutForm.cs index 498bdfa..465e3ea 100644 --- a/DisplayMagician/UIForms/ShortcutForm.cs +++ b/DisplayMagician/UIForms/ShortcutForm.cs @@ -1466,6 +1466,7 @@ namespace DisplayMagician.UIForms if (_loadedShortcut) _isUnsaved = true; cb_audio_device.Enabled = false; + btn_rescan_audio.Enabled = false; } } @@ -1476,6 +1477,7 @@ namespace DisplayMagician.UIForms if (_loadedShortcut) _isUnsaved = true; cb_audio_device.Enabled = true; + btn_rescan_audio.Enabled = true; } }