Explorar el Código

make instructions allow new lines (tab not yet working)

Daniel Sheffield hace 2 años
padre
commit
10e3373d1d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/activities/RecipeEditor.py

+ 1 - 1
app/activities/RecipeEditor.py

@@ -113,7 +113,7 @@ class RecipeEditor(FocusWidget):
           (AutoCompleteEdit(('bg', 'product#0')), AutoCompleteEdit(('bg', 'unit#0'))),
         ]
         self.organic = NoTabCheckBox(('bg', "Organic"), state='mixed')
-        self.instructions = Edit(f'')
+        self.instructions = Edit(f'', multiline=True, allow_tab=True)
 
         bottom_pane = [
             self.organic,