/// Base class for historical LyX dialogs.
/**
* \warning New dialogs should use the leaner classes \c DialogView or
- * \c DockView depending on the intent. Eventally, old dialog should be
+ * \c DockView depending on the intent. Eventually, old dialogs should be
* converted to \c DialogView too.
*/
class GuiDialog : public QDialog, public Dialog
* to close or not (no point refreshing the display for example).
*/
bool isClosing() const { return is_closing_; }
+
+ ///
+ bool needBufferOpen() const { return isBufferDependent(); }
/// Update the display of the dialog whilst it is still visible.
virtual void updateView();