Revert "CA-153347: Send Ctrl-Alt-Del is available for dom0 console and for non-running VMs"

This reverts commit 7608caafd7.
This commit is contained in:
Gabor Apati-Nagy 2015-06-01 15:33:17 +01:00
parent 00abff836b
commit 87c3811b45

View File

@ -1260,9 +1260,7 @@ namespace XenAdmin.ConsoleView
}
scaleCheckBox.Visible = !rdp || vncScreen.UseVNC;
sendCAD.Enabled = source != null && !source.is_control_domain && source.power_state == vm_power_state.Running && (!rdp || vncScreen.UseVNC);
sendCAD.Enabled = !rdp || vncScreen.UseVNC;
FocusVNC();
ignoreScaleChange = true;
if (!Properties.Settings.Default.PreserveScaleWhenSwitchBackToVNC)
@ -1353,7 +1351,7 @@ namespace XenAdmin.ConsoleView
{
//No need to reenable toggleConsoleButton, polling will do it.
multipleDvdIsoList1.Enabled = true;
sendCAD.Enabled = source != null && !source.is_control_domain && source.power_state == vm_power_state.Running;
sendCAD.Enabled = true;
}
internal void RdpDisconnectedHandler(object sender, EventArgs e)