]> git.lyx.org Git - features.git/blobdiff - src/insets/insetinclude.C
doubleClick, trippleClick, new UpdateInsetList some other small stuff
[features.git] / src / insets / insetinclude.C
index efd90e492d8f065e50a87dffe33cc76b75049245..4a447b29d683060d7b5abca7ec8eb8d451763d8d 100644 (file)
@@ -26,7 +26,6 @@ extern BufferView * current_view;
 
 extern LyXRC * lyxrc;
 extern BufferList bufferlist;
-extern void UpdateInset(BufferView *, Inset * inset, bool mark_dirty = true);
 
 
 FD_include * create_form_include(void)
@@ -145,7 +144,7 @@ extern "C" void include_cb(FL_OBJECT *, long arg)
                        }
                        
                        fl_hide_form(form->include);
-                       UpdateInset(current_view, inset);
+                       current_view->updateInset(inset, true);
                        break;
                } // fall through
                
@@ -166,7 +165,7 @@ extern "C" void include_cb(FL_OBJECT *, long arg)
                        }
                        
                        fl_hide_form(form->include);
-                       UpdateInset(current_view, inset);
+                       current_view->updateInset(inset, true);
                        current_view->owner()->getLyXFunc()->Dispatch(LFUN_CHILDOPEN, inset->getContents().c_str());
                 }
                 break;