Skip to content
Snippets Groups Projects
Commit ca6d5e89 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

file->clear should reset onelab

parent 3d436aa8
No related branches found
No related tags found
No related merge requests found
...@@ -179,6 +179,7 @@ static void file_open_recent_cb(Fl_Widget *w, void *data) ...@@ -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) static void file_clear_cb(Fl_Widget *w, void *data)
{ {
ClearProject(); ClearProject();
onelab_cb(0, (void*)"reset"); // this will call OpenProject
drawContext::global()->draw(); drawContext::global()->draw();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment