mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02: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.  
This commit is contained in:
@@ -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
|
internal bool DisableCAD
|
||||||
{
|
{
|
||||||
get
|
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
|
internal bool HideLogonLogo
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
@@ -989,6 +993,7 @@ namespace MouseWithoutBorders.Class
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Note(@htcfreek): Settings UI CheckBox is disabled in frmMatrix.cs > FrmMatrix_Load()
|
||||||
internal bool SendErrorLogV2
|
internal bool SendErrorLogV2
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
|||||||
@@ -797,6 +797,14 @@ namespace MouseWithoutBorders
|
|||||||
checkBoxHideLogo.Enabled = false;
|
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;
|
checkBoxShareClipboard.Checked = Setting.Values.ShareClipboard;
|
||||||
|
|
||||||
if (!Setting.Values.ShareClipboard)
|
if (!Setting.Values.ShareClipboard)
|
||||||
|
|||||||
Reference in New Issue
Block a user