mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-29 02:18:07 +01:00
Merge pull request #1150 from mcintyre94/CA-149965
CA-149965: Snapshot name is truncated on “Revert To Snapback” dialog.
This commit is contained in:
commit
2fdf033b25
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user