Преглед изворни кода

make instructions allow new lines (tab not yet working)

Daniel Sheffield пре 2 година
родитељ
комит
10e3373d1d
1 измењених фајлова са 1 додато и 1 уклоњено
  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,