]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiErrorList.h
If we are in a closeEvent, we don't want to close all buffers, because these may...
[lyx.git] / src / frontends / qt4 / GuiErrorList.h
index 57e451a3283a5da393c1456149f6dfb30156b630..af4f0b9abc778fbfb60442c882169332b567c41b 100644 (file)
@@ -45,9 +45,11 @@ private:
        void clearParams() {}
        ///
        void dispatchParams() {}
+       ///
+       bool canApply() const { return true; }
 
-       /// goto this error in the parent bv
-       void goTo(int item);
+       /// goto this error in the parent bv. Returns success.
+       bool goTo(int item);
        ///
        ErrorList const & errorList() const;
 private:
@@ -55,6 +57,8 @@ private:
        std::string error_type_;
        /// the parent document name
        docstring name_;
+       ///
+       bool from_master_;
 };
 
 } // namespace frontend