浏览代码

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,