Browse Source

make instructions allow new lines (tab not yet working)

Daniel Sheffield 2 năm trước cách đây
mục cha
commit
10e3373d1d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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,