]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormError.C
try this for distinguishing inner and outer tabs
[lyx.git] / src / frontends / xforms / FormError.C
index 23be1cf4cadbb9caefd85c49ffd6c2fe2d67bc06..46345e92f4bc674888bf3e6b237a709795361ae0 100644 (file)
@@ -23,7 +23,7 @@
 
 
 FormError::FormError(LyXView * lv, Dialogs * d)
-       : FormInset( lv, d, _("LaTeX Error"), new OkApplyCancelPolicy),
+       : FormInset( lv, d, _("LaTeX Error"), new OkCancelPolicy),
          dialog_(0), inset_(0)
 {
        Assert(lv && d);
@@ -65,7 +65,7 @@ void FormError::showInset(InsetError * inset)
 
        inset_ = inset;
        message_ = inset->getContents();
-       ih_ = inset->hide.connect(slot(this, &FormError::hide));
+       ih_ = inset->hideDialog.connect(slot(this, &FormError::hide));
        show();
 }