X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finseterror.C;h=611558bcb4642928da13c1090e36908b2b7ebe68;hb=b00e1315fe4da81da67f63d70e455cda167afab9;hp=43ceb178424de95ba7e96c6fa585ac167c87643f;hpb=85a5ea7bfc80e179a61a99f2955455e84d3384cc;p=lyx.git diff --git a/src/insets/inseterror.C b/src/insets/inseterror.C index 43ceb17842..611558bcb4 100644 --- a/src/insets/inseterror.C +++ b/src/insets/inseterror.C @@ -16,6 +16,7 @@ #include "BufferView.h" #include "font.h" +#include "lyxfont.h" #include "gettext.h" #include "inseterror.h" #include "LyXView.h" @@ -26,7 +27,7 @@ using std::ostream; /* Error, used for the LaTeX-Error Messages */ -InsetError::InsetError(string const & str) +InsetError::InsetError(string const & str, bool) : contents(str) {} @@ -89,3 +90,9 @@ void InsetError::edit(BufferView * bv, int, int, unsigned int) { bv->owner()->getDialogs()->showError( this ); } + + +void InsetError::edit(BufferView * bv, bool) +{ + edit(bv, 0, 0, 0); +}