]> git.lyx.org Git - features.git/blobdiff - src/insets/insetparent.C
fix call to Dispatch
[features.git] / src / insets / insetparent.C
index 05b14f1626a60e58133882e99f0dbdd2b428dea8..b6a9381a20752e1f7fcf14673d42324aa77f2683 100644 (file)
@@ -49,7 +49,7 @@ string const InsetParent::getScreenLabel() const
 void InsetParent::Edit(BufferView * bv, int, int, unsigned int)
 {    
        bv->owner()->getLyXFunc()->
-               Dispatch(LFUN_CHILDOPEN, getContents().c_str());
+               Dispatch(LFUN_CHILDOPEN, getContents());
 }