mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 14:27:26 +01:00
Merge pull request #1176 from MihaelaStoica/CAR-2184-CA-218242
CA-218242: Fix crash in Dom0 memory dialog
This commit is contained in:
commit
6eed113ef3
@ -92,6 +92,7 @@ namespace XenAdmin.Dialogs
|
||||
max = value;
|
||||
if (value < min)
|
||||
min = value;
|
||||
memorySpinner.SetRange(0, MAXIMUM_DOM0_MEMORY_GB * Util.BINARY_GIGA); // reset spinner limits
|
||||
memorySpinner.Initialize(Messages.CONTROL_DOMAIN_MEMORY_LABEL, null, value, max);
|
||||
memorySpinner.SetRange(min, max);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user