]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/DialogView.h
On Linux show in crash message box the backtrace
[lyx.git] / src / frontends / qt4 / DialogView.h
index 058d21dbf2764118bbec7b25220744b95a1648bd..d3125c6f8e94298e00e78d9898fada42b4a76114 100644 (file)
@@ -36,11 +36,12 @@ public:
        virtual QWidget const * asQWidget() const { return this; }
 
 protected:
-       /// Dialog inherited methods
+       /// \name Dialog inherited methods
        //@{
        void applyView() {}
        bool initialiseParams(std::string const & /*data*/) { return true; }
        void clearParams() {}
+       bool needBufferOpen() const { return isBufferDependent(); }
        //@}
        /// Any dialog that overrides this method should make sure to call it.
        void closeEvent(QCloseEvent * ev)