mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
CA-298693: Going back to the Template tab of the NewVM wizard should not cause a different template to be selected, even if the template was selected outside of the form it should only initially set it.
Signed-off-by: Aaron Robson <aaron.robson@citrix.com>
This commit is contained in:
parent
edbf616ef8
commit
3bd0a489f2
@ -60,8 +60,10 @@ namespace XenAdmin.Wizards.NewVMWizard
|
||||
|
||||
protected override void PageLoadedCore(PageLoadedDirection direction)
|
||||
{
|
||||
if (!templatesLoaded)
|
||||
PopulateTemplatesBox();
|
||||
if (templatesLoaded)
|
||||
return;
|
||||
|
||||
PopulateTemplatesBox();
|
||||
templatesLoaded = true;
|
||||
|
||||
if (m_selectedTemplate == null)
|
||||
|
Loading…
Reference in New Issue
Block a user