X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXSendto.C;h=defc086bd2c2e390fcae6c9dcae85d663e09cc68;hb=fe4e2a84c664ab13a2cfbfcbdb953d72c77eb268;hp=80baa6b0319b45639b4db8b6fd927443ea285e12;hpb=3df345c9383480f68fad51feae8b9c64425c8729;p=lyx.git diff --git a/src/LyXSendto.C b/src/LyXSendto.C index 80baa6b031..defc086bd2 100644 --- a/src/LyXSendto.C +++ b/src/LyXSendto.C @@ -56,13 +56,13 @@ void SendtoApplyCB(FL_OBJECT *, long) Buffer * buffer = current_view->buffer(); if (fl_get_button(fd_form_sendto->radio_ftype_dvi) || fl_get_button(fd_form_sendto->radio_ftype_ps)) { - ProhibitInput(); + ProhibitInput(current_view); // Generate dvi file and check if there are errors in the .lyx file if (MakeLaTeXOutput(buffer) > 0) { - AllowInput(); + AllowInput(current_view); return; } - AllowInput(); + AllowInput(current_view); } string ftypeext; if (fl_get_button(fd_form_sendto->radio_ftype_lyx))