Merge pull request #1150 from mcintyre94/CA-149965

CA-149965: Snapshot name is truncated on “Revert To Snapback” dialog.
This commit is contained in:
Konstantina Chremmou 2016-09-19 12:22:48 +01:00 committed by GitHub
commit 2fdf033b25

View File

@ -41,7 +41,7 @@ namespace XenAdmin.Dialogs
public RevertDialog(VM vm,string snapshotName)
{
InitializeComponent();
this.questionLabel.Text = string.Format(questionLabel.Text, snapshotName.Ellipsise(45));
this.questionLabel.Text = string.Format(questionLabel.Text, snapshotName.Ellipsise(40));
this.takeSnapshotBeforeCheckBox.Enabled = vm.allowed_operations.Contains(vm_operations.snapshot);
this.takeSnapshotBeforeCheckBox.Checked = this.takeSnapshotBeforeCheckBox.Enabled;
}