From b3090874364bd0dcf8aeda61bd1cd9f328d31069 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 8 Mar 2010 10:25:01 +0000
Subject: [PATCH] merge watched files when opening new project (hack; will
 change later)

---
 Common/OpenFile.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Common/OpenFile.cpp b/Common/OpenFile.cpp
index 485582410a..1b1472b73f 100644
--- a/Common/OpenFile.cpp
+++ b/Common/OpenFile.cpp
@@ -478,6 +478,7 @@ void OpenProject(std::string fileName)
 
 #if defined(HAVE_FLTK)
   if(FlGui::available()){
+    file_watch_cb(0, 0);
     FlGui::instance()->resetVisibility();
     FlGui::instance()->updateViews();
     FlGui::instance()->updateFields();
-- 
GitLab