]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiView.cpp
Fix bug #6606: Crash when reverting a document with a not available document class.
[features.git] / src / frontends / qt4 / GuiView.cpp
index 5c89e8dbed916661396d51f05c69f26fbc85a6ab..c6139666e2df03808fd6cbeb853aaf04c7e65a38 100644 (file)
@@ -1011,8 +1011,15 @@ bool GuiView::focusNextPrevChild(bool /*next*/)
 }
 
 
+bool GuiView::busy()
+{
+       return busy_;
+}
+
+
 void GuiView::setBusy(bool busy)
 {
+       busy_ = busy;
        if (d.current_work_area_) {
                d.current_work_area_->setUpdatesEnabled(!busy);
                if (busy)