summaryrefslogtreecommitdiff
path: root/editor/actions/import.ml
diff options
context:
space:
mode:
Diffstat (limited to 'editor/actions/import.ml')
-rwxr-xr-xeditor/actions/import.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/actions/import.ml b/editor/actions/import.ml
index da74b50..b87960b 100755
--- a/editor/actions/import.ml
+++ b/editor/actions/import.ml
@@ -21,7 +21,7 @@ module M = struct
type t = Forms.Selector.t
- let update
+ let process
: t -> State.t -> State.t
= fun t state ->
match t.Forms.Selector.file with
@@ -54,5 +54,5 @@ let create () =
in
Note.E.map
- (fun v -> App.ev (module M) v)
+ (fun v -> App.dispatch (module M) v)
(Note.E.Option.on_some ev)