Browse Source

hide snapshot ram option

andre 4 years ago
parent
commit
b5b48692e2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/UI/Snapshot/Forms/CreateForm.php

+ 2 - 0
app/UI/Snapshot/Forms/CreateForm.php

@@ -65,6 +65,8 @@ class CreateForm extends BaseForm implements ClientArea
         {
             //vmstate
             $field = new Switcher("vmstate");
+            $field->setDefaultValue("on");
+            $field->addClass('hidden');
             $this->addField($field);
         }
         //description