[pve-devel] [PATCH manager v2 10/12] ui: qemu/OSTypeEdit: set ostype in viewmodel
Dominik Csapak
d.csapak at proxmox.com
Wed Sep 22 11:27:47 CEST 2021
so that we can retrieve it in the MultiDiskPanel
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/qemu/OSTypeEdit.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/www/manager6/qemu/OSTypeEdit.js b/www/manager6/qemu/OSTypeEdit.js
index fad56e8a..d9a0988e 100644
--- a/www/manager6/qemu/OSTypeEdit.js
+++ b/www/manager6/qemu/OSTypeEdit.js
@@ -29,6 +29,7 @@ Ext.define('PVE.qemu.OSTypeInputPanel', {
me.setWidget('pveNetworkCardSelector', targetValues.networkCard);
var scsihw = targetValues.scsihw || '__default__';
this.getViewModel().set('current.scsihw', scsihw);
+ this.getViewModel().set('current.ostype', ostype);
},
setWidget: function(widget, newValue) {
// changing a widget is safe only if ComponentQuery.query returns us
--
2.30.2
More information about the pve-devel
mailing list