From ca6d5e8952896a65db60027324496e15822b6ac2 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 29 Mar 2013 20:32:14 +0000 Subject: [PATCH] file->clear should reset onelab --- Fltk/graphicWindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Fltk/graphicWindow.cpp b/Fltk/graphicWindow.cpp index 57f68317b1..9298ca100c 100644 --- a/Fltk/graphicWindow.cpp +++ b/Fltk/graphicWindow.cpp @@ -179,6 +179,7 @@ static void file_open_recent_cb(Fl_Widget *w, void *data) static void file_clear_cb(Fl_Widget *w, void *data) { ClearProject(); + onelab_cb(0, (void*)"reset"); // this will call OpenProject drawContext::global()->draw(); } -- GitLab