Disabled rescan audio button by default

This commit is contained in:
Terry MacDonald 2020-12-02 22:49:50 +13:00
parent b95f7b7a47
commit e44c2d045b
2 changed files with 3 additions and 0 deletions

View File

@ -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;

View File

@ -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;
}
}