Alexandr Xenofontov 4 mesiacov pred
rodič
commit
0f9e80b4ca
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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
             })