unblock gui because there could be too much debug messages

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32671 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2009-12-29 15:31:04 +00:00
parent 12efe108db
commit 5bcf2f4f64

View File

@ -100,6 +100,9 @@ void GuiProgress::dolyxerrFlush()
{
appendError(toqstr(lyxerr_stream_.str()));
lyxerr_stream_.str("");
// give the user a chance to disable error messages because
// showing Debug::ANY messages completely blocks the GUI
QApplication::processEvents();
}