[pve-devel] [PATCH] Qemu CreateWizard preselect current node

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Wed Apr 24 10:43:09 CEST 2013


Am 24.04.2013 10:01, schrieb Dietmar Maurer:
>> @@ -77,6 +79,10 @@ Ext.define('PVE.form.NodeSelector', {
>>  	    }
>>  	});
>>
>> +        if (me.selectCurNode && PVE.curSelectedNode.data.node) {
>> +            me.value = PVE.curSelectedNode.data.node;
>> +        }
>> +
> 
> This does not work, or it is not reliable. Seems we miss some change
> signals.
> 
> I added a new option 'preferredValue' to PVE.form.ComboGrid.
> 
> This is used after load() as default value if the node exists.
> 
> Please can you test if that works for you.
> 

It was already working for me but it also still works ;-)

Stefan



More information about the pve-devel mailing list