mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-27 14:59:16 +08:00
[MWB]Disable settings from old UI that we do not support (#33564)
## Summary of the Pull Request This PR disables the check boxes for settings that we do not support in the PowerToys implementation. ![image](https://github.com/microsoft/PowerToys/assets/61519853/da3dadf0-8ba4-4f0f-b491-9ca21b54c20a) ![image](https://github.com/microsoft/PowerToys/assets/61519853/8b561b9f-f4b5-4a5b-b61e-710d5b0f2b61)
This commit is contained in:
parent
c87d8c37e1
commit
0ddff0fcf7
@ -448,6 +448,8 @@ namespace MouseWithoutBorders.Class
|
||||
}
|
||||
}
|
||||
|
||||
// Note(@htcfreek): Settings UI CheckBox is disabled in frmMatrix.cs > FrmMatrix_Load()
|
||||
// Note(@htcfreek): If this settings gets implemented in the future we need a Group Policy for it!
|
||||
internal bool DisableCAD
|
||||
{
|
||||
get
|
||||
@ -456,6 +458,8 @@ namespace MouseWithoutBorders.Class
|
||||
}
|
||||
}
|
||||
|
||||
// Note(@htcfreek): Settings UI CheckBox is disabled in frmMatrix.cs > FrmMatrix_Load()
|
||||
// Note(@htcfreek): If this settings gets implemented in the future we need a Group Policy for it!
|
||||
internal bool HideLogonLogo
|
||||
{
|
||||
get
|
||||
@ -989,6 +993,7 @@ namespace MouseWithoutBorders.Class
|
||||
}
|
||||
}
|
||||
|
||||
// Note(@htcfreek): Settings UI CheckBox is disabled in frmMatrix.cs > FrmMatrix_Load()
|
||||
internal bool SendErrorLogV2
|
||||
{
|
||||
get
|
||||
|
@ -797,6 +797,14 @@ namespace MouseWithoutBorders
|
||||
checkBoxHideLogo.Enabled = false;
|
||||
}
|
||||
|
||||
// Note(@htcfreek): Disable checkboxes of settings that we don't support in the PowerToys implementation
|
||||
checkBoxDisableCAD.Enabled = false;
|
||||
checkBoxDisableCAD.Text = checkBoxDisableCAD.Text + " [Unsupported!]";
|
||||
checkBoxHideLogo.Enabled = false;
|
||||
checkBoxHideLogo.Text = checkBoxHideLogo.Text + " [Unsupported!]";
|
||||
checkBoxSendLog.Enabled = false;
|
||||
checkBoxSendLog.Text = checkBoxSendLog.Text + " [Unsupported!]";
|
||||
|
||||
checkBoxShareClipboard.Checked = Setting.Values.ShareClipboard;
|
||||
|
||||
if (!Setting.Values.ShareClipboard)
|
||||
|
Loading…
Reference in New Issue
Block a user