浏览代码

fix-typo (#541)

Alexandr Xenofontov 4 月之前
父节点
当前提交
0f9e80b4ca
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/en/manuals/editor-scripts-ui.md

+ 1 - 1
docs/en/manuals/editor-scripts-ui.md

@@ -153,7 +153,7 @@ local create_file = editor.ui.show_dialog(editor.ui.dialog({
                 grow = true,
                 text = file_name,
                 -- Typing callback:
-                on_text_changed = function(new_text)
+                on_value_changed = function(new_text)
                     file_name = new_text
                 end
             })