Pārlūkot izejas kodu

make instructions allow new lines (tab not yet working)

Daniel Sheffield 2 gadi atpakaļ
vecāks
revīzija
10e3373d1d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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,