aboutsummaryrefslogtreecommitdiff
path: root/ide/wg_Notebook.ml
diff options
context:
space:
mode:
Diffstat (limited to 'ide/wg_Notebook.ml')
-rw-r--r--ide/wg_Notebook.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ide/wg_Notebook.ml b/ide/wg_Notebook.ml
index c75b371fed..7a4ddc010f 100644
--- a/ide/wg_Notebook.ml
+++ b/ide/wg_Notebook.ml
@@ -51,7 +51,7 @@ object(self)
method pages = term_list
method remove_page index =
- term_list <- Util.List.filter_i (fun i x -> if i = index then kill_page x; i <> index) term_list;
+ term_list <- Util.List.filteri (fun i x -> if i = index then kill_page x; i <> index) term_list;
super#remove_page index
method current_term =