()
| 271 | } |
| 272 | |
| 273 | func (m *modifyModel) resetComputeSelection() { |
| 274 | m.config.NumGPUs = 0 |
| 275 | m.config.VCPUs = 0 |
| 276 | m.config.ComputeChanged = false |
| 277 | m.gpuCountPhase = false |
| 278 | } |
| 279 | |
| 280 | // prevVisibleStep returns the previous non-skipped step. Returns -1 if none. |
| 281 | func (m *modifyModel) prevVisibleStep(from modifyStep) modifyStep { |