]> git.lyx.org Git - features.git/blobdiff - src/insets/inseturl.C
doubleClick, trippleClick, new UpdateInsetList some other small stuff
[features.git] / src / insets / inseturl.C
index fe01fa9078a0f3d542c6295e93620481b01f1a1d..9367c6f0c64d39c46098ab4a76ec300d3fc3c6b4 100644 (file)
@@ -14,8 +14,6 @@
 #include "LaTeXFeatures.h"
 #include "lyx_gui_misc.h" // CancelCloseBoxCB
 
-extern void UpdateInset(BufferView *, Inset * inset, bool mark_dirty = true);
-
 
 InsetUrl::InsetUrl(string const & cmd)
        : fd_form_url(0)
@@ -94,7 +92,7 @@ void InsetUrl::CloseUrlCB(FL_OBJECT * ob, long)
                        inset->flag = InsetUrl::URL;
                else
                        inset->flag = InsetUrl::HTML_URL;
-               UpdateInset(bv, inset);
+               bv->updateInset(inset, true);
        }
        
        if (inset->fd_form_url) {